public class ListAliasesResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
ListAliasesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListAliasesResult |
clone() |
boolean |
equals(Object obj) |
List<AliasListEntry> |
getAliases()
A list of key aliases in the user's account.
|
String |
getNextMarker()
If
Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request. |
Boolean |
getTruncated()
A flag that indicates whether there are more items in the list.
|
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether there are more items in the list.
|
void |
setAliases(Collection<AliasListEntry> aliases)
A list of key aliases in the user's account.
|
void |
setNextMarker(String nextMarker)
If
Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request. |
void |
setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAliasesResult |
withAliases(AliasListEntry... aliases)
A list of key aliases in the user's account.
|
ListAliasesResult |
withAliases(Collection<AliasListEntry> aliases)
A list of key aliases in the user's account.
|
ListAliasesResult |
withNextMarker(String nextMarker)
If
Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request. |
ListAliasesResult |
withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
public List<AliasListEntry> getAliases()
public void setAliases(Collection<AliasListEntry> aliases)
aliases - A list of key aliases in the user's account.public ListAliasesResult withAliases(AliasListEntry... 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.
Returns a reference to this object so that method calls can be chained together.
aliases - A list of key aliases in the user's account.public ListAliasesResult withAliases(Collection<AliasListEntry> aliases)
Returns a reference to this object so that method calls can be chained together.
aliases - A list of key aliases in the user's account.public String getNextMarker()
Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request.public void setNextMarker(String nextMarker)
Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
nextMarker - If Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request.public ListAliasesResult withNextMarker(String nextMarker)
Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
nextMarker - If Truncated is true, this value is present and contains
the value to use for the Marker request parameter in a
subsequent pagination request.public Boolean isTruncated()
Marker request parameter to retrieve
more aliases in the list.Marker request parameter to retrieve
more aliases in the list.public void setTruncated(Boolean truncated)
Marker request parameter to retrieve
more aliases in the list.truncated - A flag that indicates whether there are more items in the list. If
your results were truncated, you can make a subsequent pagination
request using the Marker request parameter to retrieve
more aliases in the list.public ListAliasesResult withTruncated(Boolean truncated)
Marker request parameter to retrieve
more aliases in the list.
Returns a reference to this object so that method calls can be chained together.
truncated - A flag that indicates whether there are more items in the list. If
your results were truncated, you can make a subsequent pagination
request using the Marker request parameter to retrieve
more aliases in the list.public Boolean getTruncated()
Marker request parameter to retrieve
more aliases in the list.Marker request parameter to retrieve
more aliases in the list.public String toString()
toString in class ObjectObject.toString()public ListAliasesResult clone()
Copyright © 2015. All rights reserved.