@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a successful GetPolicyVersion request.
Constructor and Description |
---|
GetPolicyVersionResult() |
Modifier and Type | Method and Description |
---|---|
GetPolicyVersionResult |
clone() |
boolean |
equals(Object obj) |
PolicyVersion |
getPolicyVersion()
A structure containing details about the policy version.
|
int |
hashCode() |
void |
setPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the policy version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetPolicyVersionResult |
withPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the policy version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the policy version.
policyVersion
- A structure containing details about the policy version.public PolicyVersion getPolicyVersion()
A structure containing details about the policy version.
public GetPolicyVersionResult withPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the policy version.
policyVersion
- A structure containing details about the policy version.public String toString()
toString
in class Object
Object.toString()
public GetPolicyVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.