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