@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListApiKeysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListApiKeysResult() |
| Modifier and Type | Method and Description |
|---|---|
ListApiKeysResult |
clone() |
boolean |
equals(Object obj) |
List<ApiKey> |
getApiKeys()
The
ApiKey objects. |
String |
getNextToken()
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
int |
hashCode() |
void |
setApiKeys(Collection<ApiKey> apiKeys)
The
ApiKey objects. |
void |
setNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
String |
toString()
Returns a string representation of this object.
|
ListApiKeysResult |
withApiKeys(ApiKey... apiKeys)
The
ApiKey objects. |
ListApiKeysResult |
withApiKeys(Collection<ApiKey> apiKeys)
The
ApiKey objects. |
ListApiKeysResult |
withNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setApiKeys(Collection<ApiKey> apiKeys)
The ApiKey objects.
apiKeys - The ApiKey objects.public ListApiKeysResult withApiKeys(ApiKey... apiKeys)
The ApiKey objects.
NOTE: This method appends the values to the existing list (if any). Use
setApiKeys(java.util.Collection) or withApiKeys(java.util.Collection) if you want to override
the existing values.
apiKeys - The ApiKey objects.public ListApiKeysResult withApiKeys(Collection<ApiKey> apiKeys)
The ApiKey objects.
apiKeys - The ApiKey objects.public void setNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
nextToken - An identifier to pass in the next request to this operation to return the next set of items in the list.public String getNextToken()
An identifier to pass in the next request to this operation to return the next set of items in the list.
public ListApiKeysResult withNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
nextToken - An identifier to pass in the next request to this operation to return the next set of items in the list.public String toString()
toString in class ObjectObject.toString()public ListApiKeysResult clone()
Copyright © 2022. All rights reserved.