public class ListAliasesRequest extends AmazonWebServiceRequest implements Serializable
Gets a list of all aliases in the caller's AWS account and region. You cannot list aliases in other accounts. For more information about aliases, see CreateAlias.
The response might include several aliases that do not have a
TargetKeyId field because they are not associated with a CMK.
These are predefined aliases that are reserved for CMKs managed by AWS
services. If an alias is not associated with a CMK, the alias does not count
against the alias limit for your account.
| Constructor and Description |
|---|
ListAliasesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getLimit()
Use this parameter to specify the maximum number of items to return.
|
String |
getMarker()
Use this parameter in a subsequent request after you receive a response
with truncated results.
|
int |
hashCode() |
void |
setLimit(Integer limit)
Use this parameter to specify the maximum number of items to return.
|
void |
setMarker(String marker)
Use this parameter in a subsequent request after you receive a response
with truncated results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAliasesRequest |
withLimit(Integer limit)
Use this parameter to specify the maximum number of items to return.
|
ListAliasesRequest |
withMarker(String marker)
Use this parameter in a subsequent request after you receive a response
with truncated results.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic Integer getLimit()
Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS 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.
Constraints:
Range: 1 - 1000
Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS 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 void setLimit(Integer limit)
Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS 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.
Constraints:
Range: 1 - 1000
limit - Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS 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 ListAliasesRequest withLimit(Integer limit)
Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
limit - Use this parameter to specify the maximum number of items to return. When this value is present, AWS KMS 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 getMarker()
Use this parameter in a subsequent request after you receive a response
with truncated results. Set it to the value of NextMarker
from the truncated response you just received.
Constraints:
Length: 1 - 1024
Pattern: [ -ÿ]*
Use this parameter in a subsequent request after you receive a
response with truncated results. Set it to the value of
NextMarker from the truncated response you just
received.
public void setMarker(String marker)
Use this parameter in a subsequent request after you receive a response
with truncated results. Set it to the value of NextMarker
from the truncated response you just received.
Constraints:
Length: 1 - 1024
Pattern: [ -ÿ]*
marker -
Use this parameter in a subsequent request after you receive a
response with truncated results. Set it to the value of
NextMarker from the truncated response you just
received.
public ListAliasesRequest withMarker(String marker)
Use this parameter in a subsequent request after you receive a response
with truncated results. Set it to the value of NextMarker
from the truncated response you just received.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ -ÿ]*
marker -
Use this parameter in a subsequent request after you receive a
response with truncated results. Set it to the value of
NextMarker from the truncated response you just
received.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.