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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
nameRequired - 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
- 
refreshIftrue(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 class- RequestBase.AbstractBuilder<DeleteRoleMappingRequest.Builder>
 
- 
buildBuilds aDeleteRoleMappingRequest.- Specified by:
- buildin interface- ObjectBuilder<DeleteRoleMappingRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-