public class GetPolicyVersionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Gets information about the specified policy version.
| Constructor and Description |
|---|
GetPolicyVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyName()
The name of the policy.
|
java.lang.String |
getPolicyVersionId()
The policy version ID.
|
int |
hashCode() |
void |
setPolicyName(java.lang.String policyName)
The name of the policy.
|
void |
setPolicyVersionId(java.lang.String policyVersionId)
The policy version ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPolicyVersionRequest |
withPolicyName(java.lang.String policyName)
The name of the policy.
|
GetPolicyVersionRequest |
withPolicyVersionId(java.lang.String policyVersionId)
The policy version ID.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getPolicyName()
The name of the policy.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The name of the policy.
public void setPolicyName(java.lang.String policyName)
The name of the policy.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy.
public GetPolicyVersionRequest withPolicyName(java.lang.String policyName)
The name of the policy.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy.
public java.lang.String getPolicyVersionId()
The policy version ID.
Constraints:
Pattern: [0-9]+
The policy version ID.
public void setPolicyVersionId(java.lang.String policyVersionId)
The policy version ID.
Constraints:
Pattern: [0-9]+
policyVersionId - The policy version ID.
public GetPolicyVersionRequest withPolicyVersionId(java.lang.String policyVersionId)
The policy version ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9]+
policyVersionId - The policy version ID.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.