@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPermissionPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| GetPermissionPolicyResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetPermissionPolicyResult | clone() | 
| boolean | equals(Object obj) | 
| String | getPolicy()
 The IAM policy attached to the specified RuleGroup. | 
| int | hashCode() | 
| void | setPolicy(String policy)
 The IAM policy attached to the specified RuleGroup. | 
| String | toString()Returns a string representation of this object. | 
| GetPermissionPolicyResult | withPolicy(String policy)
 The IAM policy attached to the specified RuleGroup. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(String policy)
The IAM policy attached to the specified RuleGroup.
policy - The IAM policy attached to the specified RuleGroup.public String getPolicy()
The IAM policy attached to the specified RuleGroup.
public GetPermissionPolicyResult withPolicy(String policy)
The IAM policy attached to the specified RuleGroup.
policy - The IAM policy attached to the specified RuleGroup.public String toString()
toString in class ObjectObject.toString()public GetPermissionPolicyResult clone()