Class EnableUserRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.EnableUserRequest
Enable users.
Enable users in the native realm. By default, when you create users, they are enabled.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<EnableUserRequest,EnableUserResponse, ErrorResponse> Endpoint "security.enable_user". -
Method Summary
Modifier and TypeMethodDescriptionstatic EnableUserRequestfinal Refreshrefresh()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.final Stringusername()Required - An identifier for the user.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "security.enable_user".
-
-
Method Details
-
of
public static EnableUserRequest of(Function<EnableUserRequest.Builder, ObjectBuilder<EnableUserRequest>> fn) -
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 -
username
Required - An identifier for the user.API name:
username
-