@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; useful for testing and debugging.
|
GetPermissionPolicyResult |
withPolicy(String policy)
The IAM policy attached to the specified RuleGroup.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 Object
Object.toString()
public GetPermissionPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.