public class CreatePolicyVersionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a successful CreatePolicyVersion request.
Modifier and Type | Field and Description |
---|---|
private PolicyVersion |
policyVersion
A structure containing details about the new policy version.
|
Constructor and Description |
---|
CreatePolicyVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreatePolicyVersionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
PolicyVersion |
getPolicyVersion()
A structure containing details about the new policy version.
|
int |
hashCode() |
void |
setPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the new policy version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreatePolicyVersionResult |
withPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the new policy version.
|
private PolicyVersion policyVersion
A structure containing details about the new policy version.
public void setPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the new policy version.
policyVersion
- A structure containing details about the new policy version.public PolicyVersion getPolicyVersion()
A structure containing details about the new policy version.
public CreatePolicyVersionResult withPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the new policy version.
policyVersion
- A structure containing details about the new policy version.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreatePolicyVersionResult clone()
clone
in class java.lang.Object