@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPolicyVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPolicyVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPolicyVersionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMarker()
Use this parameter only when paginating results and only after you receive a response indicating that the results
are truncated.
|
Integer |
getMaxItems()
(Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response.
|
String |
getPolicyArn()
The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
|
int |
hashCode() |
void |
setMarker(String marker)
Use this parameter only when paginating results and only after you receive a response indicating that the results
are truncated.
|
void |
setMaxItems(Integer maxItems)
(Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response.
|
void |
setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListPolicyVersionsRequest |
withMarker(String marker)
Use this parameter only when paginating results and only after you receive a response indicating that the results
are truncated.
|
ListPolicyVersionsRequest |
withMaxItems(Integer maxItems)
(Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response.
|
ListPolicyVersionsRequest |
withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
|
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, withSdkRequestTimeout
public void setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
policyArn
- The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public String getPolicyArn()
The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public ListPolicyVersionsRequest withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
policyArn
- The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public void setMarker(String marker)
Use this parameter only when paginating results and only after you receive a response indicating that the results
are truncated. Set it to the value of the Marker
element in the response that you received to
indicate where the next call should start.
marker
- Use this parameter only when paginating results and only after you receive a response indicating that the
results are truncated. Set it to the value of the Marker
element in the response that you
received to indicate where the next call should start.public String getMarker()
Use this parameter only when paginating results and only after you receive a response indicating that the results
are truncated. Set it to the value of the Marker
element in the response that you received to
indicate where the next call should start.
Marker
element in the response that you
received to indicate where the next call should start.public ListPolicyVersionsRequest withMarker(String marker)
Use this parameter only when paginating results and only after you receive a response indicating that the results
are truncated. Set it to the value of the Marker
element in the response that you received to
indicate where the next call should start.
marker
- Use this parameter only when paginating results and only after you receive a response indicating that the
results are truncated. Set it to the value of the Marker
element in the response that you
received to indicate where the next call should start.public void setMaxItems(Integer maxItems)
(Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response. If additional items exist beyond the maximum you specify, the IsTruncated
response element
is true
.
If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when
there are more results available. In that case, the IsTruncated
response element returns
true
and Marker
contains a value to include in the subsequent call that tells the
service where to continue from.
maxItems
- (Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response. If additional items exist beyond the maximum you specify, the IsTruncated
response
element is true
.
If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even
when there are more results available. In that case, the IsTruncated
response element returns
true
and Marker
contains a value to include in the subsequent call that tells
the service where to continue from.
public Integer getMaxItems()
(Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response. If additional items exist beyond the maximum you specify, the IsTruncated
response element
is true
.
If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when
there are more results available. In that case, the IsTruncated
response element returns
true
and Marker
contains a value to include in the subsequent call that tells the
service where to continue from.
IsTruncated
response
element is true
.
If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even
when there are more results available. In that case, the IsTruncated
response element
returns true
and Marker
contains a value to include in the subsequent call that
tells the service where to continue from.
public ListPolicyVersionsRequest withMaxItems(Integer maxItems)
(Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response. If additional items exist beyond the maximum you specify, the IsTruncated
response element
is true
.
If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when
there are more results available. In that case, the IsTruncated
response element returns
true
and Marker
contains a value to include in the subsequent call that tells the
service where to continue from.
maxItems
- (Optional) Use this only when paginating results to indicate the maximum number of items you want in the
response. If additional items exist beyond the maximum you specify, the IsTruncated
response
element is true
.
If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even
when there are more results available. In that case, the IsTruncated
response element returns
true
and Marker
contains a value to include in the subsequent call that tells
the service where to continue from.
public String toString()
toString
in class Object
Object.toString()
public ListPolicyVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.