@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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<ListKeysResponseListItem> |
getItems()
Key value pairs
|
String |
getNextToken()
If nextToken is returned in the response, there are more results available.
|
int |
hashCode() |
void |
setItems(Collection<ListKeysResponseListItem> items)
Key value pairs
|
void |
setNextToken(String nextToken)
If nextToken is returned in the response, there are more results available.
|
String |
toString()
Returns a string representation of this object.
|
ListKeysResult |
withItems(Collection<ListKeysResponseListItem> items)
Key value pairs
|
ListKeysResult |
withItems(ListKeysResponseListItem... items)
Key value pairs
|
ListKeysResult |
withNextToken(String nextToken)
If nextToken is returned in the response, there are more results available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If nextToken is returned in the response, there are more results available. Make the next call using the returned token to retrieve the next page.
nextToken
- If nextToken is returned in the response, there are more results available. Make the next call using the
returned token to retrieve the next page.public String getNextToken()
If nextToken is returned in the response, there are more results available. Make the next call using the returned token to retrieve the next page.
public ListKeysResult withNextToken(String nextToken)
If nextToken is returned in the response, there are more results available. Make the next call using the returned token to retrieve the next page.
nextToken
- If nextToken is returned in the response, there are more results available. Make the next call using the
returned token to retrieve the next page.public List<ListKeysResponseListItem> getItems()
Key value pairs
public void setItems(Collection<ListKeysResponseListItem> items)
Key value pairs
items
- Key value pairspublic ListKeysResult withItems(ListKeysResponseListItem... items)
Key value pairs
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- Key value pairspublic ListKeysResult withItems(Collection<ListKeysResponseListItem> items)
Key value pairs
items
- Key value pairspublic String toString()
toString
in class Object
Object.toString()
public ListKeysResult clone()