@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 |
getExpectedRevisionId()
A string value that you can use to conditionally delete your policy.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed.
|
int |
hashCode() |
void |
setExpectedRevisionId(String expectedRevisionId)
A string value that you can use to conditionally delete your policy.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePolicyRequest |
withExpectedRevisionId(String expectedRevisionId)
A string value that you can use to conditionally delete your policy.
|
DeleteResourcePolicyRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed.
|
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)
The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The resources you can specify include tables and streams. If you remove the policy of a table, it will also remove the permissions for the table's indexes defined in that policy document. This is because index permissions are defined in the table's policy.
resourceArn
- The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The
resources you can specify include tables and streams. If you remove the policy of a table, it will also
remove the permissions for the table's indexes defined in that policy document. This is because index
permissions are defined in the table's policy.public String getResourceArn()
The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The resources you can specify include tables and streams. If you remove the policy of a table, it will also remove the permissions for the table's indexes defined in that policy document. This is because index permissions are defined in the table's policy.
public DeleteResourcePolicyRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The resources you can specify include tables and streams. If you remove the policy of a table, it will also remove the permissions for the table's indexes defined in that policy document. This is because index permissions are defined in the table's policy.
resourceArn
- The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The
resources you can specify include tables and streams. If you remove the policy of a table, it will also
remove the permissions for the table's indexes defined in that policy document. This is because index
permissions are defined in the table's policy.public void setExpectedRevisionId(String expectedRevisionId)
A string value that you can use to conditionally delete your policy. When you provide an expected revision ID, if
the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the
resource, the request will fail and return a PolicyNotFoundException
.
expectedRevisionId
- A string value that you can use to conditionally delete your policy. When you provide an expected revision
ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy
attached to the resource, the request will fail and return a PolicyNotFoundException
.public String getExpectedRevisionId()
A string value that you can use to conditionally delete your policy. When you provide an expected revision ID, if
the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the
resource, the request will fail and return a PolicyNotFoundException
.
PolicyNotFoundException
.public DeleteResourcePolicyRequest withExpectedRevisionId(String expectedRevisionId)
A string value that you can use to conditionally delete your policy. When you provide an expected revision ID, if
the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the
resource, the request will fail and return a PolicyNotFoundException
.
expectedRevisionId
- A string value that you can use to conditionally delete your policy. When you provide an expected revision
ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy
attached to the resource, the request will fail and return a PolicyNotFoundException
.public String toString()
toString
in class Object
Object.toString()
public DeleteResourcePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()