@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the GetPolicyVersion operation.
NOOP| Constructor and Description | 
|---|
| GetPolicyVersionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetPolicyVersionRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| 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. | 
| GetPolicyVersionRequest | withPolicyName(String policyName)
 The name of the policy. | 
| GetPolicyVersionRequest | withPolicyVersionId(String policyVersionId)
 The policy version ID. | 
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, withSdkRequestTimeoutpublic void setPolicyName(String policyName)
The name of the policy.
policyName - The name of the policy.public String getPolicyName()
The name of the policy.
public GetPolicyVersionRequest withPolicyName(String policyName)
The name of the policy.
policyName - The name of the policy.public void setPolicyVersionId(String policyVersionId)
The policy version ID.
policyVersionId - The policy version ID.public String getPolicyVersionId()
The policy version ID.
public GetPolicyVersionRequest withPolicyVersionId(String policyVersionId)
The policy version ID.
policyVersionId - The policy version ID.public String toString()
toString in class ObjectObject.toString()public GetPolicyVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()