@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTokenResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateTokenResult() |
Modifier and Type | Method and Description |
---|---|
CreateTokenResult |
clone() |
boolean |
equals(Object obj) |
String |
getAppId()
The app ID.
|
String |
getChallengeCode()
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)
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.
|
CreateTokenResult |
withAppId(String appId)
The app ID.
|
CreateTokenResult |
withChallengeCode(String challengeCode)
One-time challenge code for authenticating into the Amplify Admin UI.
|
CreateTokenResult |
withSessionId(String sessionId)
A unique ID provided when creating a new challenge token.
|
CreateTokenResult |
withTtl(String ttl)
The expiry time for the one-time generated token code.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAppId(String appId)
The app ID.
appId
- The app ID.public String getAppId()
The app ID.
public CreateTokenResult withAppId(String appId)
The app ID.
appId
- The app ID.public void setChallengeCode(String challengeCode)
One-time challenge code for authenticating into the Amplify Admin UI.
challengeCode
- One-time challenge code for authenticating into the Amplify Admin UI.public String getChallengeCode()
One-time challenge code for authenticating into the Amplify Admin UI.
public CreateTokenResult withChallengeCode(String challengeCode)
One-time challenge code for authenticating into the Amplify Admin UI.
challengeCode
- 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 CreateTokenResult 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 CreateTokenResult 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 CreateTokenResult clone()