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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:api_keysRequired - API name:api_keysRequired - API name:api_keysbuild()Builds aGetApiKeyResponse.protected GetApiKeyResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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_keysAdds all elements of
listtoapiKeys. -
apiKeys
Required - API name:api_keysAdds one or more values to
apiKeys. -
apiKeys
Required - API name:api_keysAdds a value to
apiKeysusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<GetApiKeyResponse.Builder>
-
build
Builds aGetApiKeyResponse.- Specified by:
buildin interfaceObjectBuilder<GetApiKeyResponse>- Throws:
NullPointerException- if some of the required fields are null.
-