@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAliasesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAliasesResult() |
Modifier and Type | Method and Description |
---|---|
ListAliasesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAliases()
The entity's paginated aliases.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setAliases(Collection<String> aliases)
The entity's paginated aliases.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAliasesResult |
withAliases(Collection<String> aliases)
The entity's paginated aliases.
|
ListAliasesResult |
withAliases(String... aliases)
The entity's paginated aliases.
|
ListAliasesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getAliases()
The entity's paginated aliases.
public void setAliases(Collection<String> aliases)
The entity's paginated aliases.
aliases
- The entity's paginated aliases.public ListAliasesResult withAliases(String... aliases)
The entity's paginated aliases.
NOTE: This method appends the values to the existing list (if any). Use
setAliases(java.util.Collection)
or withAliases(java.util.Collection)
if you want to override
the existing values.
aliases
- The entity's paginated aliases.public ListAliasesResult withAliases(Collection<String> aliases)
The entity's paginated aliases.
aliases
- The entity's paginated aliases.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. The value is "null" when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
public ListAliasesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. The value is "null" when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public ListAliasesResult clone()