Class DisableUserRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.security.DisableUserRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DisableUserRequest>
- Enclosing class:
- DisableUserRequest
public static class DisableUserRequest.Builder extends java.lang.Object implements ObjectBuilder<DisableUserRequest>
Builder for
DisableUserRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DisableUserRequestbuild()Builds aDisableUserRequest.DisableUserRequest.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.DisableUserRequest.Builderusername(java.lang.String value)Required - The username of the user to disableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
username
Required - The username of the user to disableAPI name:
username -
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 aDisableUserRequest.- Specified by:
buildin interfaceObjectBuilder<DisableUserRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-