Class GetApiKeyResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GetApiKeyResponse.Builder>
co.elastic.clients.elasticsearch.security.GetApiKeyResponse.Builder
- All Implemented Interfaces:
WithJson<GetApiKeyResponse.Builder>
,ObjectBuilder<GetApiKeyResponse>
- Enclosing class:
- GetApiKeyResponse
public static class GetApiKeyResponse.Builder
extends WithJsonObjectBuilderBase<GetApiKeyResponse.Builder>
implements ObjectBuilder<GetApiKeyResponse>
Builder for
GetApiKeyResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:api_keys
Required - API name:api_keys
Required - API name:api_keys
build()
Builds aGetApiKeyResponse
.protected GetApiKeyResponse.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKeys
Required - API name:api_keys
Adds all elements of
list
toapiKeys
. -
apiKeys
Required - API name:api_keys
Adds one or more values to
apiKeys
. -
apiKeys
Required - API name:api_keys
Adds a value to
apiKeys
using a builder lambda. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<GetApiKeyResponse.Builder>
-
build
Builds aGetApiKeyResponse
.- Specified by:
build
in interfaceObjectBuilder<GetApiKeyResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-