public class ListKeyPoliciesRequest extends AmazonWebServiceRequest implements Serializable
ListKeyPolicies operation
.
Retrieves a list of policies attached to a key.
NOOP
Constructor and Description |
---|
ListKeyPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getKeyId()
Unique identifier of the key.
|
Integer |
getLimit()
Specify this parameter only when paginating results to indicate the
maximum number of policies you want listed in the response.
|
String |
getMarker()
Use this parameter only when paginating results, and only in a
subsequent request after you've received a response where the results
are truncated.
|
int |
hashCode() |
void |
setKeyId(String keyId)
Unique identifier of the key.
|
void |
setLimit(Integer limit)
Specify this parameter only when paginating results to indicate the
maximum number of policies you want listed in the response.
|
void |
setMarker(String marker)
Use this parameter only when paginating results, and only in a
subsequent request after you've received a response where the results
are truncated.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListKeyPoliciesRequest |
withKeyId(String keyId)
Unique identifier of the key.
|
ListKeyPoliciesRequest |
withLimit(Integer limit)
Specify this parameter only when paginating results to indicate the
maximum number of policies you want listed in the response.
|
ListKeyPoliciesRequest |
withMarker(String marker)
Use this parameter only when paginating results, and only in a
subsequent request after you've received a response where the results
are truncated.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getKeyId()
Constraints:
Length: 1 - 256
public void setKeyId(String keyId)
Constraints:
Length: 1 - 256
keyId
- Unique identifier of the key. This can be an ARN, an alias, or a
globally unique identifier.public ListKeyPoliciesRequest withKeyId(String keyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId
- Unique identifier of the key. This can be an ARN, an alias, or a
globally unique identifier.public Integer getLimit()
Truncated
response element will be set to
true.
Constraints:
Range: 1 - 1000
Truncated
response element will be set to
true.
public void setLimit(Integer limit)
Truncated
response element will be set to
true.
Constraints:
Range: 1 - 1000
limit
- Specify this parameter only when paginating results to indicate the
maximum number of policies you want listed in the response. If there
are additional policies beyond the maximum you specify, the
Truncated
response element will be set to
true.
public ListKeyPoliciesRequest withLimit(Integer limit)
Truncated
response element will be set to
true.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
limit
- Specify this parameter only when paginating results to indicate the
maximum number of policies you want listed in the response. If there
are additional policies beyond the maximum you specify, the
Truncated
response element will be set to
true.
public String getMarker()
NextMarker
in
the response you just received.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
NextMarker
in
the response you just received.public void setMarker(String marker)
NextMarker
in
the response you just received.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
marker
- Use this parameter only when paginating results, and only in a
subsequent request after you've received a response where the results
are truncated. Set it to the value of the NextMarker
in
the response you just received.public ListKeyPoliciesRequest withMarker(String marker)
NextMarker
in
the response you just received.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 320
Pattern: [\u0020-\u00FF]*
marker
- Use this parameter only when paginating results, and only in a
subsequent request after you've received a response where the results
are truncated. Set it to the value of the NextMarker
in
the response you just received.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.