public class GetPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
GetPolicyResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
GetPolicyResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getPolicy()
 The resource policy associated with the specified function. 
 | 
int | 
hashCode()  | 
void | 
setPolicy(String policy)
 The resource policy associated with the specified function. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
GetPolicyResult | 
withPolicy(String policy)
 The resource policy associated with the specified function. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(String policy)
The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
policy - The resource policy associated with the specified function. The response returns the same as a string
        using a backslash ("\") as an escape character in the JSON.public String getPolicy()
The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
public GetPolicyResult withPolicy(String policy)
The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
policy - The resource policy associated with the specified function. The response returns the same as a string
        using a backslash ("\") as an escape character in the JSON.public String toString()
toString in class ObjectObject.toString()public GetPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.