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 String
apiKey()
Required - Generated API key.final String
encoded()
Required - API key credentials which is the base64-encoding of the UTF-8 representation ofid
andapi_key
joined by a colon (:
).final Long
Expiration in milliseconds for the API key.final String
id()
Required - Unique ID for this API key.final String
name()
Required - Specifies the name for this API key.of
(Function<CreateCrossClusterApiKeyResponse.Builder, ObjectBuilder<CreateCrossClusterApiKeyResponse>> fn) void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupCreateCrossClusterApiKeyResponseDeserializer
(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 ofid
andapi_key
joined by a colon (:
).API name:
encoded
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCreateCrossClusterApiKeyResponseDeserializer
protected static void setupCreateCrossClusterApiKeyResponseDeserializer(ObjectDeserializer<CreateCrossClusterApiKeyResponse.Builder> op)
-