@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 |
getPolicyId()
The ID of the resource policy you're deleting.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource you're deleting the policy from.
|
int |
hashCode() |
void |
setPolicyId(String policyId)
The ID of the resource policy you're deleting.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource you're deleting the policy from.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePolicyRequest |
withPolicyId(String policyId)
The ID of the resource policy you're deleting.
|
DeleteResourcePolicyRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource you're deleting the policy from.
|
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 setPolicyId(String policyId)
The ID of the resource policy you're deleting.
policyId
- The ID of the resource policy you're deleting.public String getPolicyId()
The ID of the resource policy you're deleting.
public DeleteResourcePolicyRequest withPolicyId(String policyId)
The ID of the resource policy you're deleting.
policyId
- The ID of the resource policy you're deleting.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource you're deleting the policy from.
resourceArn
- The Amazon Resource Name (ARN) of the resource you're deleting the policy from.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource you're deleting the policy from.
public DeleteResourcePolicyRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource you're deleting the policy from.
resourceArn
- The Amazon Resource Name (ARN) of the resource you're deleting the policy from.public String toString()
toString
in class Object
Object.toString()
public DeleteResourcePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()