Class DeleteRoleMappingRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteRoleMappingRequest.Builder>
co.elastic.clients.elasticsearch.security.DeleteRoleMappingRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteRoleMappingRequest.Builder>,ObjectBuilder<DeleteRoleMappingRequest>
- Enclosing class:
- DeleteRoleMappingRequest
public static class DeleteRoleMappingRequest.Builder extends RequestBase.AbstractBuilder<DeleteRoleMappingRequest.Builder> implements ObjectBuilder<DeleteRoleMappingRequest>
Builder for
DeleteRoleMappingRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DeleteRoleMappingRequestbuild()Builds aDeleteRoleMappingRequest.DeleteRoleMappingRequest.Buildername(java.lang.String value)Required - Role-mapping nameDeleteRoleMappingRequest.Builderrefresh(Refresh value)Iftrue(the default) then refresh the affected shards to make this operation visible to search, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.protected DeleteRoleMappingRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Required - Role-mapping nameAPI name:
name -
refresh
Iftrue(the default) then refresh the affected shards to make this operation visible to search, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.API name:
refresh -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteRoleMappingRequest.Builder>
-
build
Builds aDeleteRoleMappingRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteRoleMappingRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-