@Generated(value="software.amazon.awssdk:codegen") public final class CreateTokenResponse extends AmplifyBackendResponse implements ToCopyableBuilder<CreateTokenResponse.Builder,CreateTokenResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTokenResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appId()
The app ID.
|
static CreateTokenResponse.Builder |
builder() |
String |
challengeCode()
One-time challenge code for authenticating into the Amplify Admin UI.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTokenResponse.Builder> |
serializableBuilderClass() |
String |
sessionId()
A unique ID provided when creating a new challenge token.
|
CreateTokenResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
ttl()
The expiry time for the one-time generated token code.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String appId()
The app ID.
public final String challengeCode()
One-time challenge code for authenticating into the Amplify Admin UI.
public final String sessionId()
A unique ID provided when creating a new challenge token.
public final String ttl()
The expiry time for the one-time generated token code.
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.