@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteResourcePolicyStatementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteResourcePolicyStatementRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteResourcePolicyStatementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getExpectedRevisionId()
The identifier of the revision of the policy to delete the statement from.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
String |
getStatementId()
The name of the statement (SID) to delete from the policy.
|
int |
hashCode() |
void |
setExpectedRevisionId(String expectedRevisionId)
The identifier of the revision of the policy to delete the statement from.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
void |
setStatementId(String statementId)
The name of the statement (SID) to delete from the policy.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePolicyStatementRequest |
withExpectedRevisionId(String expectedRevisionId)
The identifier of the revision of the policy to delete the statement from.
|
DeleteResourcePolicyStatementRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
DeleteResourcePolicyStatementRequest |
withStatementId(String statementId)
The name of the statement (SID) to delete from the policy.
|
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 DeleteResourcePolicyStatementRequest()
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
resourceArn
- The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.public String getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
public DeleteResourcePolicyStatementRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
resourceArn
- The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.public void setStatementId(String statementId)
The name of the statement (SID) to delete from the policy.
statementId
- The name of the statement (SID) to delete from the policy.public String getStatementId()
The name of the statement (SID) to delete from the policy.
public DeleteResourcePolicyStatementRequest withStatementId(String statementId)
The name of the statement (SID) to delete from the policy.
statementId
- The name of the statement (SID) to delete from the policy.public void setExpectedRevisionId(String expectedRevisionId)
The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
expectedRevisionId
- The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't
match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
public String getExpectedRevisionId()
The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
public DeleteResourcePolicyStatementRequest withExpectedRevisionId(String expectedRevisionId)
The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
expectedRevisionId
- The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't
match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
public String toString()
toString
in class Object
Object.toString()
public DeleteResourcePolicyStatementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()