public class ListGrantsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
keyId
A unique identifier for the customer master key.
|
private java.lang.Integer |
limit
When paginating results, specify the maximum number of items to return in
the response.
|
private java.lang.String |
marker
Use this parameter only when paginating results and only in a subsequent
request after you receive a response with truncated results.
|
NOOP
Constructor and Description |
---|
ListGrantsRequest() |
Modifier and Type | Method and Description |
---|---|
ListGrantsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKeyId()
A unique identifier for the customer master key.
|
java.lang.Integer |
getLimit()
When paginating results, specify the maximum number of items to return in
the response.
|
java.lang.String |
getMarker()
Use this parameter only when paginating results and only in a subsequent
request after you receive a response with truncated results.
|
int |
hashCode() |
void |
setKeyId(java.lang.String keyId)
A unique identifier for the customer master key.
|
void |
setLimit(java.lang.Integer limit)
When paginating results, specify the maximum number of items to return in
the response.
|
void |
setMarker(java.lang.String marker)
Use this parameter only when paginating results and only in a subsequent
request after you receive a response with truncated results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListGrantsRequest |
withKeyId(java.lang.String keyId)
A unique identifier for the customer master key.
|
ListGrantsRequest |
withLimit(java.lang.Integer limit)
When paginating results, specify the maximum number of items to return in
the response.
|
ListGrantsRequest |
withMarker(java.lang.String marker)
Use this parameter only when paginating results and only in a subsequent
request after you receive a response with truncated results.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.Integer limit
When paginating results, specify the maximum number of items to return in
the response. If additional items exist beyond the number you specify,
the Truncated
element in the response is set to true.
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.
private java.lang.String marker
Use this parameter only when paginating results and only in a subsequent
request after you receive a response with truncated results. Set it to
the value of NextMarker
from the response you just received.
private java.lang.String keyId
A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234 -1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
public void setLimit(java.lang.Integer limit)
When paginating results, specify the maximum number of items to return in
the response. If additional items exist beyond the number you specify,
the Truncated
element in the response is set to true.
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.
limit
- When paginating results, specify the maximum number of items to
return in the response. If additional items exist beyond the
number you specify, the Truncated
element in the
response is set to true.
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 java.lang.Integer getLimit()
When paginating results, specify the maximum number of items to return in
the response. If additional items exist beyond the number you specify,
the Truncated
element in the response is set to true.
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.
Truncated
element in the
response is set to true.
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 ListGrantsRequest withLimit(java.lang.Integer limit)
When paginating results, specify the maximum number of items to return in
the response. If additional items exist beyond the number you specify,
the Truncated
element in the response is set to true.
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.
limit
- When paginating results, specify the maximum number of items to
return in the response. If additional items exist beyond the
number you specify, the Truncated
element in the
response is set to true.
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 setMarker(java.lang.String marker)
Use this parameter only when paginating results and only in a subsequent
request after you receive a response with truncated results. Set it to
the value of NextMarker
from the response you just received.
marker
- Use this parameter only when paginating results and only in a
subsequent request after you receive a response with truncated
results. Set it to the value of NextMarker
from the
response you just received.public java.lang.String getMarker()
Use this parameter only when paginating results and only in a subsequent
request after you receive a response with truncated results. Set it to
the value of NextMarker
from the response you just received.
NextMarker
from the
response you just received.public ListGrantsRequest withMarker(java.lang.String marker)
Use this parameter only when paginating results and only in a subsequent
request after you receive a response with truncated results. Set it to
the value of NextMarker
from the response you just received.
marker
- Use this parameter only when paginating results and only in a
subsequent request after you receive a response with truncated
results. Set it to the value of NextMarker
from the
response you just received.public void setKeyId(java.lang.String keyId)
A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234 -1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
keyId
- A unique identifier for the customer master key. This value can be
a globally unique identifier or the fully specified ARN to a
key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234 -1234-1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
public java.lang.String getKeyId()
A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234 -1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678- 1234-1234-1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
public ListGrantsRequest withKeyId(java.lang.String keyId)
A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234 -1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
keyId
- A unique identifier for the customer master key. This value can be
a globally unique identifier or the fully specified ARN to a
key.
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234 -1234-1234-123456789012
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListGrantsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()