Class GetApiKeyRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetApiKeyRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class GetApiKeyRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetApiKeyRequest.Builder
Builder forGetApiKeyRequest
.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<GetApiKeyRequest,GetApiKeyResponse,ElasticsearchError>
ENDPOINT
Endpoint "security.get_api_key
". -
Constructor Summary
Constructors Constructor Description GetApiKeyRequest(GetApiKeyRequest.Builder builder)
GetApiKeyRequest(java.util.function.Function<GetApiKeyRequest.Builder,GetApiKeyRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
id()
API key id of the API key to be retrievedjava.lang.String
name()
API key name of the API key to be retrievedjava.lang.Boolean
owner()
flag to query API keys owned by the currently authenticated userjava.lang.String
realmName()
realm name of the user who created this API key to be retrievedjava.lang.String
username()
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
-
Field Details
-
ENDPOINT
Endpoint "security.get_api_key
".
-
-
Constructor Details
-
GetApiKeyRequest
-
GetApiKeyRequest
public GetApiKeyRequest(java.util.function.Function<GetApiKeyRequest.Builder,GetApiKeyRequest.Builder> fn)
-
-
Method Details
-
id
@Nullable public java.lang.String id()API key id of the API key to be retrievedAPI name:
id
-
name
@Nullable public java.lang.String name()API key name of the API key to be retrievedAPI name:
name
-
owner
@Nullable public java.lang.Boolean owner()flag to query API keys owned by the currently authenticated userAPI name:
owner
-
realmName
@Nullable public java.lang.String realmName()realm name of the user who created this API key to be retrievedAPI name:
realm_name
-
username
@Nullable public java.lang.String username()user name of the user who created this API key to be retrievedAPI name:
username
-