@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<ListKeysResponseEntry> |
getEntries()
Contains API key resources in your Amazon Web Services account.
|
String |
getNextToken()
A pagination token indicating there are additional pages available.
|
int |
hashCode() |
void |
setEntries(Collection<ListKeysResponseEntry> entries)
Contains API key resources in your Amazon Web Services account.
|
void |
setNextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
String |
toString()
Returns a string representation of this object.
|
ListKeysResult |
withEntries(Collection<ListKeysResponseEntry> entries)
Contains API key resources in your Amazon Web Services account.
|
ListKeysResult |
withEntries(ListKeysResponseEntry... entries)
Contains API key resources in your Amazon Web Services account.
|
ListKeysResult |
withNextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListKeysResponseEntry> getEntries()
Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.
public void setEntries(Collection<ListKeysResponseEntry> entries)
Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.
entries
- Contains API key resources in your Amazon Web Services account. Details include API key name, allowed
referers and timestamp for when the API key will expire.public ListKeysResult withEntries(ListKeysResponseEntry... entries)
Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- Contains API key resources in your Amazon Web Services account. Details include API key name, allowed
referers and timestamp for when the API key will expire.public ListKeysResult withEntries(Collection<ListKeysResponseEntry> entries)
Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.
entries
- Contains API key resources in your Amazon Web Services account. Details include API key name, allowed
referers and timestamp for when the API key will expire.public void setNextToken(String nextToken)
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
nextToken
- A pagination token indicating there are additional pages available. You can use the token in a following
request to fetch the next set of results.public String getNextToken()
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
public ListKeysResult withNextToken(String nextToken)
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
nextToken
- A pagination token indicating there are additional pages available. You can use the token in a following
request to fetch the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListKeysResult clone()