Class DisableUserRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DisableUserRequest
public class DisableUserRequest extends RequestBase
Disables users in the native realm.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DisableUserRequest.Builder
Builder forDisableUserRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<DisableUserRequest,DisableUserResponse,ErrorResponse>
_ENDPOINT
Endpoint "security.disable_user
". -
Method Summary
Modifier and Type Method Description static DisableUserRequest
of(java.util.function.Function<DisableUserRequest.Builder,ObjectBuilder<DisableUserRequest>> fn)
Refresh
refresh()
Iftrue
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.java.lang.String
username()
Required - The username of the user to disableMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "security.disable_user
".
-
-
Method Details
-
of
public static DisableUserRequest of(java.util.function.Function<DisableUserRequest.Builder,ObjectBuilder<DisableUserRequest>> fn) -
refresh
Iftrue
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.API name:
refresh
-
username
public final java.lang.String username()Required - The username of the user to disableAPI name:
username
-