@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTokenResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetTokenResult () |
| Modifier and Type | Method and Description |
|---|---|
GetTokenResult |
clone () |
boolean |
equals (Object obj) |
String |
getAppId ()
The app ID.
|
String |
getChallengeCode ()
The one-time challenge code for authenticating into the Amplify Admin UI.
|
String |
getSessionId ()
A unique ID provided when creating a new challenge token.
|
String |
getTtl ()
The expiry time for the one-time generated token code.
|
int |
hashCode () |
void |
setAppId (String appId)
The app ID.
|
void |
setChallengeCode (String challengeCode)
The one-time challenge code for authenticating into the Amplify Admin UI.
|
void |
setSessionId (String sessionId)
A unique ID provided when creating a new challenge token.
|
void |
setTtl (String ttl)
The expiry time for the one-time generated token code.
|
String |
toString ()
Returns a string representation of this object.
|
GetTokenResult |
withAppId (String appId)
The app ID.
|
GetTokenResult |
withChallengeCode (String challengeCode)
The one-time challenge code for authenticating into the Amplify Admin UI.
|
GetTokenResult |
withSessionId (String sessionId)
A unique ID provided when creating a new challenge token.
|
GetTokenResult |
withTtl (String ttl)
The expiry time for the one-time generated token code.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public GetTokenResult()
public void setAppId(String appId)
The app ID.
appId - The app ID.public String getAppId()
The app ID.
public GetTokenResult withAppId(String appId)
The app ID.
appId - The app ID.public void setChallengeCode(String challengeCode)
The one-time challenge code for authenticating into the Amplify Admin UI.
challengeCode - The one-time challenge code for authenticating into the Amplify Admin UI.public String getChallengeCode()
The one-time challenge code for authenticating into the Amplify Admin UI.
public GetTokenResult withChallengeCode(String challengeCode)
The one-time challenge code for authenticating into the Amplify Admin UI.
challengeCode - The one-time challenge code for authenticating into the Amplify Admin UI.public void setSessionId(String sessionId)
A unique ID provided when creating a new challenge token.
sessionId - A unique ID provided when creating a new challenge token.public String getSessionId()
A unique ID provided when creating a new challenge token.
public GetTokenResult withSessionId(String sessionId)
A unique ID provided when creating a new challenge token.
sessionId - A unique ID provided when creating a new challenge token.public void setTtl(String ttl)
The expiry time for the one-time generated token code.
ttl - The expiry time for the one-time generated token code.public String getTtl()
The expiry time for the one-time generated token code.
public GetTokenResult withTtl(String ttl)
The expiry time for the one-time generated token code.
ttl - The expiry time for the one-time generated token code.public String toString()
toString in class Object Object.toString() public GetTokenResult clone()