@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePolicyResult() |
Modifier and Type | Method and Description |
---|---|
CreatePolicyResult |
clone() |
boolean |
equals(Object obj) |
Policy |
getPolicy()
A structure that contains details about the newly created policy.
|
int |
hashCode() |
void |
setPolicy(Policy policy)
A structure that contains details about the newly created policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreatePolicyResult |
withPolicy(Policy policy)
A structure that contains details about the newly created policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicy(Policy policy)
A structure that contains details about the newly created policy.
policy
- A structure that contains details about the newly created policy.public Policy getPolicy()
A structure that contains details about the newly created policy.
public CreatePolicyResult withPolicy(Policy policy)
A structure that contains details about the newly created policy.
policy
- A structure that contains details about the newly created policy.public String toString()
toString
in class Object
Object.toString()
public CreatePolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.