Class GetUserRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.security.GetUserRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetUserRequest>
- Enclosing class:
- GetUserRequest
public static class GetUserRequest.Builder extends java.lang.Object implements ObjectBuilder<GetUserRequest>
Builder for
GetUserRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetUserRequest.BuilderaddUsername(java.lang.String value)Add a value tousername(List), creating the list if needed.GetUserRequestbuild()Builds aGetUserRequest.GetUserRequest.Builderusername(java.lang.String... value)An identifier for the user.GetUserRequest.Builderusername(java.util.List<java.lang.String> value)An identifier for the user.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
-
username
An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.API name:
username -
username
An identifier for the user. You can specify multiple usernames as a comma-separated list. If you omit this parameter, the API retrieves information about all users.API name:
username -
addUsername
Add a value tousername(List), creating the list if needed. 4 -
build
Builds aGetUserRequest.- Specified by:
buildin interfaceObjectBuilder<GetUserRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-