Class Token
java.lang.Object
co.elastic.clients.elasticsearch.security.enroll_kibana.Token
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Token>
Json deserializer forToken
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
name()
Required - The name of the bearer token for theelastic/kibana
service account.static Token
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()
final String
value()
Required - The value of the bearer token for theelastic/kibana
service account.
-
Field Details
-
_DESERIALIZER
Json deserializer forToken
-
-
Method Details
-
of
-
name
Required - The name of the bearer token for theelastic/kibana
service account.API name:
name
-
value
Required - The value of the bearer token for theelastic/kibana
service account. Use this value to authenticate the service account with Elasticsearch.API name:
value
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTokenDeserializer
-