@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTokensResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTokensResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTokensResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Token for the next set of results.
|
List<TokenData> |
getTokens()
Received token details.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Token for the next set of results.
|
void |
setTokens(Collection<TokenData> tokens)
Received token details.
|
String |
toString()
Returns a string representation of this object.
|
ListTokensResult |
withNextToken(String nextToken)
Token for the next set of results.
|
ListTokensResult |
withTokens(Collection<TokenData> tokens)
Received token details.
|
ListTokensResult |
withTokens(TokenData... tokens)
Received token details.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<TokenData> getTokens()
Received token details.
public void setTokens(Collection<TokenData> tokens)
Received token details.
tokens - Received token details.public ListTokensResult withTokens(TokenData... tokens)
Received token details.
NOTE: This method appends the values to the existing list (if any). Use
setTokens(java.util.Collection) or withTokens(java.util.Collection) if you want to override the
existing values.
tokens - Received token details.public ListTokensResult withTokens(Collection<TokenData> tokens)
Received token details.
tokens - Received token details.public void setNextToken(String nextToken)
Token for the next set of results.
nextToken - Token for the next set of results.public String getNextToken()
Token for the next set of results.
public ListTokensResult withNextToken(String nextToken)
Token for the next set of results.
nextToken - Token for the next set of results.public String toString()
toString in class ObjectObject.toString()public ListTokensResult clone()