@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<KeySummary> |
getKeys()
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
|
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 |
setKeys(Collection<KeySummary> keys)
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
|
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.
|
ListKeysResult |
withKeys(Collection<KeySummary> keys)
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
|
ListKeysResult |
withKeys(KeySummary... keys)
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
|
ListKeysResult |
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, setSdkResponseMetadata
public List<KeySummary> getKeys()
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
public void setKeys(Collection<KeySummary> keys)
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
keys
- The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.public ListKeysResult withKeys(KeySummary... keys)
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
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
- The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.public ListKeysResult withKeys(Collection<KeySummary> keys)
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
keys
- The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.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 ListKeysResult 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 Object
Object.toString()
public ListKeysResult clone()