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 String
Required - An access token associated with the subject distinguished name of the client's certificate.final Authentication
API name:authentication
final long
Required - The amount of time (in seconds) before the token expires.static DelegatePkiResponse
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
type()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDelegatePkiResponseDeserializer
protected static void setupDelegatePkiResponseDeserializer(ObjectDeserializer<DelegatePkiResponse.Builder> op)
-