@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DeleteResourcePolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
DeleteResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The policy previously attached to the resource.
|
String |
getResourceArn()
Amazon Resource Name (ARN) of the resource from which the policy was deleted.
|
int |
hashCode() |
void |
setPolicy(String policy)
The policy previously attached to the resource.
|
void |
setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource from which the policy was deleted.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePolicyResult |
withPolicy(String policy)
The policy previously attached to the resource.
|
DeleteResourcePolicyResult |
withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource from which the policy was deleted.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource from which the policy was deleted.
resourceArn - Amazon Resource Name (ARN) of the resource from which the policy was deleted.public String getResourceArn()
Amazon Resource Name (ARN) of the resource from which the policy was deleted.
public DeleteResourcePolicyResult withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource from which the policy was deleted.
resourceArn - Amazon Resource Name (ARN) of the resource from which the policy was deleted.public void setPolicy(String policy)
The policy previously attached to the resource.
policy - The policy previously attached to the resource.public String getPolicy()
The policy previously attached to the resource.
public DeleteResourcePolicyResult withPolicy(String policy)
The policy previously attached to the resource.
policy - The policy previously attached to the resource.public String toString()
toString in class ObjectObject.toString()public DeleteResourcePolicyResult clone()