@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 |
getToken()
Refresh token, encoded as a JWT token.
|
String |
getTokenId()
Token ID.
|
String |
getTokenType()
Token type.
|
int |
hashCode() |
void |
setToken(String token)
Refresh token, encoded as a JWT token.
|
void |
setTokenId(String tokenId)
Token ID.
|
void |
setTokenType(String tokenType)
Token type.
|
String |
toString()
Returns a string representation of this object.
|
CreateTokenResult |
withToken(String token)
Refresh token, encoded as a JWT token.
|
CreateTokenResult |
withTokenId(String tokenId)
Token ID.
|
CreateTokenResult |
withTokenType(String tokenType)
Token type.
|
CreateTokenResult |
withTokenType(TokenType tokenType)
Token type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTokenId(String tokenId)
Token ID.
tokenId
- Token ID.public String getTokenId()
Token ID.
public CreateTokenResult withTokenId(String tokenId)
Token ID.
tokenId
- Token ID.public void setTokenType(String tokenType)
Token type.
tokenType
- Token type.TokenType
public CreateTokenResult withTokenType(String tokenType)
Token type.
tokenType
- Token type.TokenType
public CreateTokenResult withTokenType(TokenType tokenType)
Token type.
tokenType
- Token type.TokenType
public void setToken(String token)
Refresh token, encoded as a JWT token.
token
- Refresh token, encoded as a JWT token.public String getToken()
Refresh token, encoded as a JWT token.
public CreateTokenResult withToken(String token)
Refresh token, encoded as a JWT token.
token
- Refresh token, encoded as a JWT token.public String toString()
toString
in class Object
Object.toString()
public CreateTokenResult clone()