@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteBotVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteBotVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteBotVersionRequest |
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 that contains the version.
|
String |
getBotVersion()
The version 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 version 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 version is being used by
another resource. |
void |
setBotId(String botId)
The identifier of the bot that contains the version.
|
void |
setBotVersion(String botVersion)
The version 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 version is being used by
another resource. |
String |
toString()
Returns a string representation of this object.
|
DeleteBotVersionRequest |
withBotId(String botId)
The identifier of the bot that contains the version.
|
DeleteBotVersionRequest |
withBotVersion(String botVersion)
The version of the bot to delete.
|
DeleteBotVersionRequest |
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 version 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, withSdkRequestTimeoutpublic void setBotId(String botId)
The identifier of the bot that contains the version.
botId - The identifier of the bot that contains the version.public String getBotId()
The identifier of the bot that contains the version.
public DeleteBotVersionRequest withBotId(String botId)
The identifier of the bot that contains the version.
botId - The identifier of the bot that contains the version.public void setBotVersion(String botVersion)
The version of the bot to delete.
botVersion - The version of the bot to delete.public String getBotVersion()
The version of the bot to delete.
public DeleteBotVersionRequest withBotVersion(String botVersion)
The version of the bot to delete.
botVersion - The version 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 version is being used by
another resource. Set this parameter to true to skip this check and remove the version 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 version is
being used by another resource. Set this parameter to true to skip this check and remove the
version 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 version is being used by
another resource. Set this parameter to true to skip this check and remove the version even if it is
being used by another resource.
ResourceInUseException exception if the version is
being used by another resource. Set this parameter to true to skip this check and remove the
version even if it is being used by another resource.public DeleteBotVersionRequest 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 version is being used by
another resource. Set this parameter to true to skip this check and remove the version 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 version is
being used by another resource. Set this parameter to true to skip this check and remove the
version 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 version is being used by
another resource. Set this parameter to true to skip this check and remove the version even if it is
being used by another resource.
ResourceInUseException exception if the version is
being used by another resource. Set this parameter to true to skip this check and remove the
version even if it is being used by another resource.public String toString()
toString in class ObjectObject.toString()public DeleteBotVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()