@Generated(value="software.amazon.awssdk:codegen") public final class CreateTokenResponse extends SsoOidcResponse implements ToCopyableBuilder<CreateTokenResponse.Builder,CreateTokenResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTokenResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
An opaque token to access AWS SSO resources assigned to a user.
|
static CreateTokenResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
expiresIn()
Indicates the time in seconds when an access token will expire.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
idToken()
The identifier of the user that associated with the access token, if present.
|
String |
refreshToken()
A token that, if present, can be used to refresh a previously issued access token that might have expired.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTokenResponse.Builder> |
serializableBuilderClass() |
CreateTokenResponse.Builder |
toBuilder() |
String |
tokenType()
Used to notify the client that the returned token is an access token.
|
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessToken()
An opaque token to access AWS SSO resources assigned to a user.
public final String tokenType()
Used to notify the client that the returned token is an access token. The supported type is
BearerToken.
BearerToken.public final Integer expiresIn()
Indicates the time in seconds when an access token will expire.
public final String refreshToken()
A token that, if present, can be used to refresh a previously issued access token that might have expired.
public final String idToken()
The identifier of the user that associated with the access token, if present.
public CreateTokenResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTokenResponse.Builder,CreateTokenResponse>toBuilder in class AwsResponsepublic static CreateTokenResponse.Builder builder()
public static Class<? extends CreateTokenResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.