public class GetPolicyVersionRequest extends AmazonWebServiceRequest implements Serializable
Gets information about the specified policy version.
| Constructor and Description |
|---|
GetPolicyVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the policy.
|
String |
getPolicyVersionId()
The policy version ID.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy.
|
void |
setPolicyVersionId(String policyVersionId)
The policy version ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPolicyVersionRequest |
withPolicyName(String policyName)
The name of the policy.
|
GetPolicyVersionRequest |
withPolicyVersionId(String policyVersionId)
The policy version ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPolicyName()
The name of the policy.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The name of the policy.
public void setPolicyName(String policyName)
The name of the policy.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy.
public GetPolicyVersionRequest withPolicyName(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 String getPolicyVersionId()
The policy version ID.
Constraints:
Pattern: [0-9]+
The policy version ID.
public void setPolicyVersionId(String policyVersionId)
The policy version ID.
Constraints:
Pattern: [0-9]+
policyVersionId - The policy version ID.
public GetPolicyVersionRequest withPolicyVersionId(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 String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.