@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteBotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteBotRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteBotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot to delete.
|
Boolean |
getSkipResourceInUseCheck()
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version
before it is deleted and throws a
ResourceInUseException exception if the bot is being used by
another resource. |
int |
hashCode() |
Boolean |
isSkipResourceInUseCheck()
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version
before it is deleted and throws a
ResourceInUseException exception if the bot is being used by
another resource. |
void |
setBotId(String botId)
The identifier of the bot to delete.
|
void |
setSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version
before it is deleted and throws a
ResourceInUseException exception if the bot is being used by
another resource. |
String |
toString()
Returns a string representation of this object.
|
DeleteBotRequest |
withBotId(String botId)
The identifier of the bot to delete.
|
DeleteBotRequest |
withSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version
before it is deleted and throws a
ResourceInUseException exception if the bot is being used by
another resource. |
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 setBotId(String botId)
The identifier of the bot to delete.
botId
- The identifier of the bot to delete.public String getBotId()
The identifier of the bot to delete.
public DeleteBotRequest withBotId(String botId)
The identifier of the bot to delete.
botId
- The identifier of the bot to delete.public void setSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version
before it is deleted and throws a ResourceInUseException
exception if the bot is being used by
another resource. Set this parameter to true
to skip this check and remove the bot even if it is
being used by another resource.
skipResourceInUseCheck
- By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot
version before it is deleted and throws a ResourceInUseException
exception if the bot is
being used by another resource. Set this parameter to true
to skip this check and remove the
bot even if it is being used by another resource.public Boolean getSkipResourceInUseCheck()
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version
before it is deleted and throws a ResourceInUseException
exception if the bot is being used by
another resource. Set this parameter to true
to skip this check and remove the bot even if it is
being used by another resource.
ResourceInUseException
exception if the bot is
being used by another resource. Set this parameter to true
to skip this check and remove the
bot even if it is being used by another resource.public DeleteBotRequest withSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version
before it is deleted and throws a ResourceInUseException
exception if the bot is being used by
another resource. Set this parameter to true
to skip this check and remove the bot even if it is
being used by another resource.
skipResourceInUseCheck
- By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot
version before it is deleted and throws a ResourceInUseException
exception if the bot is
being used by another resource. Set this parameter to true
to skip this check and remove the
bot even if it is being used by another resource.public Boolean isSkipResourceInUseCheck()
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version
before it is deleted and throws a ResourceInUseException
exception if the bot is being used by
another resource. Set this parameter to true
to skip this check and remove the bot even if it is
being used by another resource.
ResourceInUseException
exception if the bot is
being used by another resource. Set this parameter to true
to skip this check and remove the
bot even if it is being used by another resource.public String toString()
toString
in class Object
Object.toString()
public DeleteBotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()