Class CloneApiKeyResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.CloneApiKeyResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CloneApiKeyResponse>Json deserializer forCloneApiKeyResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringapiKey()Required - The generated API key value for the cloned key.final Stringencoded()Required - API key credentials which is the base64-encoding of the UTF-8 representation ofidandapi_keyjoined by a colon (:).final LongExpiration in milliseconds for the API key.final Stringid()Required - The unique ID of the cloned API key.final Stringname()Required - The name of the cloned API key.static CloneApiKeyResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCloneApiKeyResponse
-
-
Method Details
-
of
public static CloneApiKeyResponse of(Function<CloneApiKeyResponse.Builder, ObjectBuilder<CloneApiKeyResponse>> fn) -
apiKey
Required - The generated API key value for the cloned key.API name:
api_key -
expiration
Expiration in milliseconds for the API key.API name:
expiration -
id
Required - The unique ID of the cloned API key.API name:
id -
name
Required - The name of the cloned API key.API name:
name -
encoded
Required - API key credentials which is the base64-encoding of the UTF-8 representation ofidandapi_keyjoined by a colon (:).API name:
encoded -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCloneApiKeyResponseDeserializer
protected static void setupCloneApiKeyResponseDeserializer(ObjectDeserializer<CloneApiKeyResponse.Builder> op)
-