Class DelegatePkiResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.DelegatePkiResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DelegatePkiResponse>Json deserializer forDelegatePkiResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - An access token associated with the subject distinguished name of the client's certificate.final AuthenticationAPI name:authenticationfinal longRequired - The amount of time (in seconds) before the token expires.static DelegatePkiResponsevoidserialize(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 Stringtype()Required - The type of token.
-
Field Details
-
_DESERIALIZER
Json deserializer forDelegatePkiResponse
-
-
Method Details
-
of
public static DelegatePkiResponse of(Function<DelegatePkiResponse.Builder, ObjectBuilder<DelegatePkiResponse>> fn) -
accessToken
Required - An access token associated with the subject distinguished name of the client's certificate.API name:
access_token -
expiresIn
public final long expiresIn()Required - The amount of time (in seconds) before the token expires.API name:
expires_in -
type
Required - The type of token.API name:
type -
authentication
API name:authentication -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDelegatePkiResponseDeserializer
protected static void setupDelegatePkiResponseDeserializer(ObjectDeserializer<DelegatePkiResponse.Builder> op)
-