@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, the
DeleteBotVersion operations throws a ResourceInUseException exception
if you try to delete a bot version that has an alias pointing at it. |
int |
hashCode() |
Boolean |
isSkipResourceInUseCheck()
By default, the
DeleteBotVersion operations throws a ResourceInUseException exception
if you try to delete a bot version that has an alias pointing at it. |
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, the
DeleteBotVersion operations throws a ResourceInUseException exception
if you try to delete a bot version that has an alias pointing at it. |
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, the
DeleteBotVersion operations throws a ResourceInUseException exception
if you try to delete a bot version that has an alias pointing at it. |
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 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, the DeleteBotVersion
operations throws a ResourceInUseException
exception
if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the version even if an alias points to it.
skipResourceInUseCheck
- By default, the DeleteBotVersion
operations throws a ResourceInUseException
exception if you try to delete a bot version that has an alias pointing at it. Set the
skipResourceInUseCheck
parameter to true
to skip this check and remove the
version even if an alias points to it.public Boolean getSkipResourceInUseCheck()
By default, the DeleteBotVersion
operations throws a ResourceInUseException
exception
if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the version even if an alias points to it.
DeleteBotVersion
operations throws a ResourceInUseException
exception if you try to delete a bot version that has an alias pointing at it. Set the
skipResourceInUseCheck
parameter to true
to skip this check and remove the
version even if an alias points to it.public DeleteBotVersionRequest withSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, the DeleteBotVersion
operations throws a ResourceInUseException
exception
if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the version even if an alias points to it.
skipResourceInUseCheck
- By default, the DeleteBotVersion
operations throws a ResourceInUseException
exception if you try to delete a bot version that has an alias pointing at it. Set the
skipResourceInUseCheck
parameter to true
to skip this check and remove the
version even if an alias points to it.public Boolean isSkipResourceInUseCheck()
By default, the DeleteBotVersion
operations throws a ResourceInUseException
exception
if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the version even if an alias points to it.
DeleteBotVersion
operations throws a ResourceInUseException
exception if you try to delete a bot version that has an alias pointing at it. Set the
skipResourceInUseCheck
parameter to true
to skip this check and remove the
version even if an alias points to it.public String toString()
toString
in class Object
Object.toString()
public DeleteBotVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()