@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<Alias> |
getAliases()
A collection of alias resources that match the request parameters.
|
String |
getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation.
|
int |
hashCode() |
void |
setAliases(Collection<Alias> aliases)
A collection of alias resources that match the request parameters.
|
void |
setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
String |
toString()
Returns a string representation of this object.
|
ListAliasesResult |
withAliases(Alias... aliases)
A collection of alias resources that match the request parameters.
|
ListAliasesResult |
withAliases(Collection<Alias> aliases)
A collection of alias resources that match the request parameters.
|
ListAliasesResult |
withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Alias> getAliases()
A collection of alias resources that match the request parameters.
public void setAliases(Collection<Alias> aliases)
A collection of alias resources that match the request parameters.
aliases
- A collection of alias resources that match the request parameters.public ListAliasesResult withAliases(Alias... aliases)
A collection of alias resources that match the request parameters.
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
- A collection of alias resources that match the request parameters.public ListAliasesResult withAliases(Collection<Alias> aliases)
A collection of alias resources that match the request parameters.
aliases
- A collection of alias resources that match the request parameters.public void setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
public ListAliasesResult withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String toString()
toString
in class Object
Object.toString()
public ListAliasesResult clone()