Class DeleteRoleMappingRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.security.DeleteRoleMappingRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeleteRoleMappingRequest>
- Enclosing class:
- DeleteRoleMappingRequest
public static class DeleteRoleMappingRequest.Builder extends java.lang.Object 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(jakarta.json.JsonValue 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.Methods 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 -
build
Builds aDeleteRoleMappingRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteRoleMappingRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-