@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteResourcePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteResourcePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteResourcePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyHash()
ID of the current policy version.
|
String |
getPolicyId()
The policy ID.
|
String |
getResourceArn()
Amazon Resource Name (ARN) of the resource to which the policies are attached.
|
int |
hashCode() |
void |
setPolicyHash(String policyHash)
ID of the current policy version.
|
void |
setPolicyId(String policyId)
The policy ID.
|
void |
setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource to which the policies are attached.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePolicyRequest |
withPolicyHash(String policyHash)
ID of the current policy version.
|
DeleteResourcePolicyRequest |
withPolicyId(String policyId)
The policy ID.
|
DeleteResourcePolicyRequest |
withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource to which the policies are attached.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource to which the policies are attached.
resourceArn
- Amazon Resource Name (ARN) of the resource to which the policies are attached.public String getResourceArn()
Amazon Resource Name (ARN) of the resource to which the policies are attached.
public DeleteResourcePolicyRequest withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource to which the policies are attached.
resourceArn
- Amazon Resource Name (ARN) of the resource to which the policies are attached.public void setPolicyId(String policyId)
The policy ID.
policyId
- The policy ID.public String getPolicyId()
The policy ID.
public DeleteResourcePolicyRequest withPolicyId(String policyId)
The policy ID.
policyId
- The policy ID.public void setPolicyHash(String policyHash)
ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a policy.
policyHash
- ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a
policy.public String getPolicyHash()
ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a policy.
public DeleteResourcePolicyRequest withPolicyHash(String policyHash)
ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a policy.
policyHash
- ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a
policy.public String toString()
toString
in class Object
Object.toString()
public DeleteResourcePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()