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 Stringname()Required - The name of the bearer token for theelastic/kibanaservice account.static Tokenvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final Stringvalue()Required - The value of the bearer token for theelastic/kibanaservice account.
-
Field Details
-
_DESERIALIZER
Json deserializer forToken
-
-
Method Details
-
of
-
name
Required - The name of the bearer token for theelastic/kibanaservice account.API name:
name -
value
Required - The value of the bearer token for theelastic/kibanaservice account. Use this value to authenticate the service account with Elasticsearch.API name:
value -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTokenDeserializer
-