@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteResourcePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DeleteResourcePolicyResult() |
Modifier and Type | Method and Description |
---|---|
DeleteResourcePolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.
|
String |
getRevisionId()
The current revision of the resource policy.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.
|
void |
setRevisionId(String revisionId)
The current revision of the resource policy.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePolicyResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.
|
DeleteResourcePolicyResult |
withRevisionId(String revisionId)
The current revision of the resource policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.
resourceArn
- The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.public String getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.
public DeleteResourcePolicyResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.
resourceArn
- The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.public void setRevisionId(String revisionId)
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
revisionId
- The current revision of the resource policy. Use the revision ID to make sure that you are updating the
most current version of a resource policy when you add a policy statement to a resource, delete a
resource, or update a resource.public String getRevisionId()
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
public DeleteResourcePolicyResult withRevisionId(String revisionId)
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
revisionId
- The current revision of the resource policy. Use the revision ID to make sure that you are updating the
most current version of a resource policy when you add a policy statement to a resource, delete a
resource, or update a resource.public String toString()
toString
in class Object
Object.toString()
public DeleteResourcePolicyResult clone()