@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()
The list of aliases.
|
String |
getNextToken()
The token for the next set of results, or an empty or null value if there are no more results.
|
int |
hashCode() |
void |
setAliases(Collection<Alias> aliases)
The list of aliases.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or an empty or null value if there are no more results.
|
String |
toString()
Returns a string representation of this object.
|
ListAliasesResult |
withAliases(Alias... aliases)
The list of aliases.
|
ListAliasesResult |
withAliases(Collection<Alias> aliases)
The list of aliases.
|
ListAliasesResult |
withNextToken(String nextToken)
The token for the next set of results, or an empty or null value if there are no more results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Alias> getAliases()
The list of aliases. Each alias describes the KeyArn contained within.
KeyArn contained within.public void setAliases(Collection<Alias> aliases)
The list of aliases. Each alias describes the KeyArn contained within.
aliases - The list of aliases. Each alias describes the KeyArn contained within.public ListAliasesResult withAliases(Alias... aliases)
The list of aliases. Each alias describes the KeyArn contained within.
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 list of aliases. Each alias describes the KeyArn contained within.public ListAliasesResult withAliases(Collection<Alias> aliases)
The list of aliases. Each alias describes the KeyArn contained within.
aliases - The list of aliases. Each alias describes the KeyArn contained within.public void setNextToken(String nextToken)
The token for the next set of results, or an empty or null value if there are no more results.
nextToken - The token for the next set of results, or an empty or null value if there are no more results.public String getNextToken()
The token for the next set of results, or an empty or null value if there are no more results.
public ListAliasesResult withNextToken(String nextToken)
The token for the next set of results, or an empty or null value if there are no more results.
nextToken - The token for the next set of results, or an empty or null value if there are no more results.public String toString()
toString in class ObjectObject.toString()public ListAliasesResult clone()
Copyright © 2023. All rights reserved.