@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; useful for testing and debugging.
|
CreatePolicyVersionResult |
withPolicyVersion(PolicyVersion policyVersion)
A structure containing details about the new policy version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 String toString()
toString
in class Object
Object.toString()
public CreatePolicyVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.