public class ListPolicyVersionsRequest extends AmazonWebServiceRequest implements Serializable
Lists the versions of the specified policy and identifies the default version.
| Constructor and Description |
|---|
ListPolicyVersionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPolicyName()
The policy name.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The policy name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPolicyVersionsRequest |
withPolicyName(String policyName)
The policy name.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPolicyName()
The policy name.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The policy name.
public void setPolicyName(String policyName)
The policy name.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The policy name.
public ListPolicyVersionsRequest withPolicyName(String policyName)
The policy name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The policy name.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.