@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<AliasListEntry> |
getAliases()
A list of aliases.
|
String |
getNextMarker()
When
Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent 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 aliases.
|
void |
setNextMarker(String nextMarker)
When
Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent 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.
|
ListAliasesResult |
withAliases(AliasListEntry... aliases)
A list of aliases.
|
ListAliasesResult |
withAliases(Collection<AliasListEntry> aliases)
A list of aliases.
|
ListAliasesResult |
withNextMarker(String nextMarker)
When
Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent request. |
ListAliasesResult |
withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AliasListEntry> getAliases()
A list of aliases.
public void setAliases(Collection<AliasListEntry> aliases)
A list of aliases.
aliases
- A list of aliases.public ListAliasesResult withAliases(AliasListEntry... aliases)
A list of 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
- A list of aliases.public ListAliasesResult withAliases(Collection<AliasListEntry> aliases)
A list of aliases.
aliases
- A list of aliases.public void setNextMarker(String nextMarker)
When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
nextMarker
- When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.public String getNextMarker()
When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.public ListAliasesResult withNextMarker(String nextMarker)
When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
nextMarker
- When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.public void setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this response
to the Marker
parameter in a subsequent request.
truncated
- A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this
response to the Marker
parameter in a subsequent request.public Boolean getTruncated()
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this response
to the Marker
parameter in a subsequent request.
NextMarker
element in this
response to the Marker
parameter in a subsequent request.public ListAliasesResult withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this response
to the Marker
parameter in a subsequent request.
truncated
- A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this
response to the Marker
parameter in a subsequent request.public Boolean isTruncated()
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this response
to the Marker
parameter in a subsequent request.
NextMarker
element in this
response to the Marker
parameter in a subsequent request.public String toString()
toString
in class Object
Object.toString()
public ListAliasesResult clone()