@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 that is attached to the specified rule group.
|
int |
hashCode() |
void |
setPolicy(String policy)
The IAM policy that is attached to the specified rule group.
|
String |
toString()
Returns a string representation of this object.
|
GetPermissionPolicyResult |
withPolicy(String policy)
The IAM policy that is attached to the specified rule group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicy(String policy)
The IAM policy that is attached to the specified rule group.
policy - The IAM policy that is attached to the specified rule group.public String getPolicy()
The IAM policy that is attached to the specified rule group.
public GetPermissionPolicyResult withPolicy(String policy)
The IAM policy that is attached to the specified rule group.
policy - The IAM policy that is attached to the specified rule group.public String toString()
toString in class ObjectObject.toString()public GetPermissionPolicyResult clone()