public DeleteResourcePolicyRequest withResourceArn(String resourceArn) {
        setResourceArn(resourceArn);
        return this;
    }
<p>
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.
</p>

@param 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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/DeleteResourcePolicyRequest.java