Class AuthenticateApiKey
java.lang.Object
co.elastic.clients.elasticsearch.security.authenticate.AuthenticateApiKey
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AuthenticateApiKey>
Json deserializer forAuthenticateApiKey
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
id()
Required - API name:id
final String
name()
API name:name
static AuthenticateApiKey
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAuthenticateApiKey
-
-
Method Details
-
of
public static AuthenticateApiKey of(Function<AuthenticateApiKey.Builder, ObjectBuilder<AuthenticateApiKey>> fn) -
id
Required - API name:id
-
name
API name:name
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAuthenticateApiKeyDeserializer
protected static void setupAuthenticateApiKeyDeserializer(ObjectDeserializer<AuthenticateApiKey.Builder> op)
-