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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteRoleMappingRequest.Required - The distinct name that identifies the role mapping.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, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Required - The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way.API 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:
NullPointerException- if some of the required fields are null.
-