@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()
The identifier of the revision to edit.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
|
int |
hashCode() |
void |
setExpectedRevisionId(String expectedRevisionId)
The identifier of the revision to edit.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
|
String |
toString()
Returns a string representation of this object.
|
DeleteResourcePolicyRequest |
withExpectedRevisionId(String expectedRevisionId)
The identifier of the revision to edit.
|
DeleteResourcePolicyRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
|
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 bot or bot alias that has the resource policy attached.
resourceArn
- The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.public String getResourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
public DeleteResourcePolicyRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
resourceArn
- The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.public void setExpectedRevisionId(String expectedRevisionId)
The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception
If you don't specify a revision ID, Amazon Lex will delete the current policy.
expectedRevisionId
- The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex
returns an exception
If you don't specify a revision ID, Amazon Lex will delete the current policy.
public String getExpectedRevisionId()
The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception
If you don't specify a revision ID, Amazon Lex will delete the current policy.
If you don't specify a revision ID, Amazon Lex will delete the current policy.
public DeleteResourcePolicyRequest withExpectedRevisionId(String expectedRevisionId)
The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception
If you don't specify a revision ID, Amazon Lex will delete the current policy.
expectedRevisionId
- The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex
returns an exception
If you don't specify a revision ID, Amazon Lex will delete the current policy.
public String toString()
toString
in class Object
Object.toString()
public DeleteResourcePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()