public class GetPolicyVersionResult extends Object 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()
Information about the policy version.
|
int |
hashCode() |
void |
setPolicyVersion(PolicyVersion policyVersion)
Information about the policy version.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPolicyVersionResult |
withPolicyVersion(PolicyVersion policyVersion)
Information about the policy version.
|
public PolicyVersion getPolicyVersion()
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
public void setPolicyVersion(PolicyVersion policyVersion)
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
policyVersion
- Information about the policy version. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
public GetPolicyVersionResult withPolicyVersion(PolicyVersion policyVersion)
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
Returns a reference to this object so that method calls can be chained together.
policyVersion
- Information about the policy version. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
public String toString()
toString
in class Object
Object.toString()
public GetPolicyVersionResult clone()
Copyright © 2015. All rights reserved.