public class GetPolicyVersionResult extends Object implements Serializable
Contains the response to a successful GetPolicyVersion request.
Constructor and Description |
---|
GetPolicyVersionResult() |
Modifier and Type | Method and Description |
---|---|
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 Using IAM guide.
For more information about managed policy versions, see Versioning for Managed Policies in the Using IAM guide.
public void setPolicyVersion(PolicyVersion policyVersion)
For more information about managed policy versions, see Versioning for Managed Policies in the Using IAM guide.
policyVersion
- Information about the policy version. For more information about managed policy versions, see Versioning for Managed Policies in the Using IAM guide.
public GetPolicyVersionResult withPolicyVersion(PolicyVersion policyVersion)
For more information about managed policy versions, see Versioning for Managed Policies in the Using IAM 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 Using IAM guide.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.