Class GetApiKeyRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.security.GetApiKeyRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetApiKeyRequest>
- Enclosing class:
- GetApiKeyRequest
public static class GetApiKeyRequest.Builder extends java.lang.Object implements ObjectBuilder<GetApiKeyRequest>
Builder for
GetApiKeyRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetApiKeyRequestbuild()Builds aGetApiKeyRequest.GetApiKeyRequest.Builderid(java.lang.String value)API key id of the API key to be retrievedGetApiKeyRequest.Buildername(java.lang.String value)API key name of the API key to be retrievedGetApiKeyRequest.Builderowner(java.lang.Boolean value)flag to query API keys owned by the currently authenticated userGetApiKeyRequest.BuilderrealmName(java.lang.String value)realm name of the user who created this API key to be retrievedGetApiKeyRequest.Builderusername(java.lang.String value)user name of the user who created this API key to be retrievedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
API key id of the API key to be retrievedAPI name:
id -
name
API key name of the API key to be retrievedAPI name:
name -
owner
flag to query API keys owned by the currently authenticated userAPI name:
owner -
realmName
realm name of the user who created this API key to be retrievedAPI name:
realm_name -
username
user name of the user who created this API key to be retrievedAPI name:
username -
build
Builds aGetApiKeyRequest.- Specified by:
buildin interfaceObjectBuilder<GetApiKeyRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-