@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePolicyVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a successful CreatePolicyVersion request.
| Constructor and Description |
|---|
CreatePolicyVersionResult() |
| Modifier and Type | Method and Description |
|---|---|
CreatePolicyVersionResult |
clone() |
boolean |
equals(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.
|
String |
toString()
Returns a string representation of this object.
|
CreatePolicyVersionResult |
withPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the new policy version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 String toString()
toString in class ObjectObject.toString()public CreatePolicyVersionResult clone()