Class CreateCrossClusterApiKeyResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.CreateCrossClusterApiKeyResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class CreateCrossClusterApiKeyResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CreateCrossClusterApiKeyResponse>Json deserializer forCreateCrossClusterApiKeyResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringapiKey()Required - Generated API 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 - Unique ID for this API key.final Stringname()Required - Specifies the name for this API key.of(Function<CreateCrossClusterApiKeyResponse.Builder, ObjectBuilder<CreateCrossClusterApiKeyResponse>> fn) voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupCreateCrossClusterApiKeyResponseDeserializer(ObjectDeserializer<CreateCrossClusterApiKeyResponse.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCreateCrossClusterApiKeyResponse
-
-
Method Details
-
of
-
apiKey
Required - Generated API key.API name:
api_key -
expiration
Expiration in milliseconds for the API key.API name:
expiration -
id
Required - Unique ID for this API key.API name:
id -
name
Required - Specifies the name for this 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
-
setupCreateCrossClusterApiKeyResponseDeserializer
protected static void setupCreateCrossClusterApiKeyResponseDeserializer(ObjectDeserializer<CreateCrossClusterApiKeyResponse.Builder> op)
-