@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 |
getPolicyRevisionId()
The revision ID of the policy to delete.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.
|
int |
hashCode() |
void |
setPolicyRevisionId(String policyRevisionId)
The revision ID of the policy to delete.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePolicyRequest |
withPolicyRevisionId(String policyRevisionId)
The revision ID of the policy to delete.
|
DeleteResourcePolicyRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.
|
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, withSdkRequestTimeoutpublic void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.
resourceArn - The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.public String getResourceArn()
The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.
public DeleteResourcePolicyRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.
resourceArn - The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.public void setPolicyRevisionId(String policyRevisionId)
The revision ID of the policy to delete.
policyRevisionId - The revision ID of the policy to delete.public String getPolicyRevisionId()
The revision ID of the policy to delete.
public DeleteResourcePolicyRequest withPolicyRevisionId(String policyRevisionId)
The revision ID of the policy to delete.
policyRevisionId - The revision ID of the policy to delete.public String toString()
toString in class ObjectObject.toString()public DeleteResourcePolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()