@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListKeysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListKeysRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListKeysRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKeyState()
The key state of the keys you want to list.
|
Integer |
getMaxResults()
Use this parameter to specify the maximum number of items to return.
|
String |
getNextToken()
Use this parameter in a subsequent request after you receive a response with truncated results.
|
int |
hashCode() |
void |
setKeyState(String keyState)
The key state of the keys you want to list.
|
void |
setMaxResults(Integer maxResults)
Use this parameter to specify the maximum number of items to return.
|
void |
setNextToken(String nextToken)
Use this parameter in a subsequent request after you receive a response with truncated results.
|
String |
toString()
Returns a string representation of this object.
|
ListKeysRequest |
withKeyState(KeyState keyState)
The key state of the keys you want to list.
|
ListKeysRequest |
withKeyState(String keyState)
The key state of the keys you want to list.
|
ListKeysRequest |
withMaxResults(Integer maxResults)
Use this parameter to specify the maximum number of items to return.
|
ListKeysRequest |
withNextToken(String nextToken)
Use this parameter in a subsequent request after you receive a response with truncated results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setKeyState(String keyState)
The key state of the keys you want to list.
keyState - The key state of the keys you want to list.KeyStatepublic String getKeyState()
The key state of the keys you want to list.
KeyStatepublic ListKeysRequest withKeyState(String keyState)
The key state of the keys you want to list.
keyState - The key state of the keys you want to list.KeyStatepublic ListKeysRequest withKeyState(KeyState keyState)
The key state of the keys you want to list.
keyState - The key state of the keys you want to list.KeyStatepublic void setNextToken(String nextToken)
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the
value of NextToken from the truncated response you just received.
nextToken - Use this parameter in a subsequent request after you receive a response with truncated results. Set it to
the value of NextToken from the truncated response you just received.public String getNextToken()
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the
value of NextToken from the truncated response you just received.
NextToken from the truncated response you just received.public ListKeysRequest withNextToken(String nextToken)
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the
value of NextToken from the truncated response you just received.
nextToken - Use this parameter in a subsequent request after you receive a response with truncated results. Set it to
the value of NextToken from the truncated response you just received.public void setMaxResults(Integer maxResults)
Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
maxResults - Use this parameter to specify the maximum number of items to return. When this value is present, Amazon
Web Services Payment Cryptography does not return more than the specified number of items, but it might
return fewer.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
public Integer getMaxResults()
Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
public ListKeysRequest withMaxResults(Integer maxResults)
Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
maxResults - Use this parameter to specify the maximum number of items to return. When this value is present, Amazon
Web Services Payment Cryptography does not return more than the specified number of items, but it might
return fewer.
This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
public String toString()
toString in class ObjectObject.toString()public ListKeysRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()