public class DeleteResourcePolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes a resource policy from this account. This revokes the access of the identities in that policy to put log events to this account.
| Constructor and Description |
|---|
DeleteResourcePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyName()
The name of the policy to be revoked.
|
int |
hashCode() |
void |
setPolicyName(java.lang.String policyName)
The name of the policy to be revoked.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteResourcePolicyRequest |
withPolicyName(java.lang.String policyName)
The name of the policy to be revoked.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getPolicyName()
The name of the policy to be revoked. This parameter is required.
The name of the policy to be revoked. This parameter is required.
public void setPolicyName(java.lang.String policyName)
The name of the policy to be revoked. This parameter is required.
policyName - The name of the policy to be revoked. This parameter is required.
public DeleteResourcePolicyRequest withPolicyName(java.lang.String policyName)
The name of the policy to be revoked. This parameter is required.
Returns a reference to this object so that method calls can be chained together.
policyName - The name of the policy to be revoked. This parameter is required.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.