public class ListKeysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListKeysResult() |
| Modifier and Type | Method and Description |
|---|---|
ListKeysResult |
clone() |
boolean |
equals(Object obj) |
List<KeyListEntry> |
getKeys()
A list of keys.
|
String |
getNextMarker()
When
Truncated is true, this value is present and contains the value to use for the
Marker 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 |
setKeys(Collection<KeyListEntry> keys)
A list of keys.
|
void |
setNextMarker(String nextMarker)
When
Truncated is true, this value is present and contains the value to use for the
Marker 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.
|
ListKeysResult |
withKeys(Collection<KeyListEntry> keys)
A list of keys.
|
ListKeysResult |
withKeys(KeyListEntry... keys)
A list of keys.
|
ListKeysResult |
withNextMarker(String nextMarker)
When
Truncated is true, this value is present and contains the value to use for the
Marker parameter in a subsequent pagination request. |
ListKeysResult |
withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<KeyListEntry> getKeys()
A list of keys.
public void setKeys(Collection<KeyListEntry> keys)
A list of keys.
keys - A list of keys.public ListKeysResult withKeys(KeyListEntry... keys)
A list of keys.
NOTE: This method appends the values to the existing list (if any). Use
setKeys(java.util.Collection) or withKeys(java.util.Collection) if you want to override the
existing values.
keys - A list of keys.public ListKeysResult withKeys(Collection<KeyListEntry> keys)
A list of keys.
keys - A list of keys.public void setNextMarker(String nextMarker)
When Truncated is true, this value is present and contains the value to use for the
Marker parameter in a subsequent pagination request.
nextMarker - When Truncated is true, this value is present and contains the value to use for the
Marker parameter in a subsequent pagination request.public String getNextMarker()
When Truncated is true, this value is present and contains the value to use for the
Marker parameter in a subsequent pagination request.
Truncated is true, this value is present and contains the value to use for the
Marker parameter in a subsequent pagination request.public ListKeysResult withNextMarker(String nextMarker)
When Truncated is true, this value is present and contains the value to use for the
Marker parameter in a subsequent pagination request.
nextMarker - When Truncated is true, this value is present and contains the value to use for the
Marker parameter in a subsequent pagination request.public void setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. If your results were truncated, you can use the
Marker parameter to make a subsequent pagination request to retrieve more items in the list.
truncated - A flag that indicates whether there are more items in the list. If your results were truncated, you can
use the Marker parameter to make a subsequent pagination request to retrieve more items in
the list.public Boolean getTruncated()
A flag that indicates whether there are more items in the list. If your results were truncated, you can use the
Marker parameter to make a subsequent pagination request to retrieve more items in the list.
Marker parameter to make a subsequent pagination request to retrieve more items in
the list.public ListKeysResult withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. If your results were truncated, you can use the
Marker parameter to make a subsequent pagination request to retrieve more items in the list.
truncated - A flag that indicates whether there are more items in the list. If your results were truncated, you can
use the Marker parameter to make a subsequent pagination request to retrieve more items in
the list.public Boolean isTruncated()
A flag that indicates whether there are more items in the list. If your results were truncated, you can use the
Marker parameter to make a subsequent pagination request to retrieve more items in the list.
Marker parameter to make a subsequent pagination request to retrieve more items in
the list.public String toString()
toString in class ObjectObject.toString()public ListKeysResult clone()
Copyright © 2016. All rights reserved.