Class GenerateOboTokenResponse
java.lang.Object
org.opensearch.client.opensearch.security.GenerateOboTokenResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GenerateOboTokenResponse.Builder,GenerateOboTokenResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GenerateOboTokenResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GenerateOboTokenResponse.Builder,GenerateOboTokenResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GenerateOboTokenResponse> Json deserializer forGenerateOboTokenResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe generated OBO token.builder()final StringThe duration of the token.booleaninthashCode()static GenerateOboTokenResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringuser()The name of the entity requesting token.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGenerateOboTokenResponse
-
-
Method Details
-
of
public static GenerateOboTokenResponse of(Function<GenerateOboTokenResponse.Builder, ObjectBuilder<GenerateOboTokenResponse>> fn) -
authenticationToken
The generated OBO token.API name:
authenticationToken -
durationSeconds
The duration of the token.API name:
durationSeconds -
user
The name of the entity requesting token.API name:
user -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GenerateOboTokenResponse.Builder,GenerateOboTokenResponse> - Returns:
- a new builder instance.
-
builder
-
setupGenerateOboTokenResponseDeserializer
protected static void setupGenerateOboTokenResponseDeserializer(ObjectDeserializer<GenerateOboTokenResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-