@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSlotTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteSlotTypeRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteSlotTypeRequest |
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 associated with the slot type.
|
String |
getBotVersion()
The version of the bot associated with the slot type.
|
String |
getLocaleId()
The identifier of the language and locale that the slot type will be deleted from.
|
Boolean |
getSkipResourceInUseCheck()
By default, the
DeleteSlotType operations throws a ResourceInUseException exception if
you try to delete a slot type used by a slot. |
String |
getSlotTypeId()
The identifier of the slot type to delete.
|
int |
hashCode() |
Boolean |
isSkipResourceInUseCheck()
By default, the
DeleteSlotType operations throws a ResourceInUseException exception if
you try to delete a slot type used by a slot. |
void |
setBotId(String botId)
The identifier of the bot associated with the slot type.
|
void |
setBotVersion(String botVersion)
The version of the bot associated with the slot type.
|
void |
setLocaleId(String localeId)
The identifier of the language and locale that the slot type will be deleted from.
|
void |
setSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, the
DeleteSlotType operations throws a ResourceInUseException exception if
you try to delete a slot type used by a slot. |
void |
setSlotTypeId(String slotTypeId)
The identifier of the slot type to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteSlotTypeRequest |
withBotId(String botId)
The identifier of the bot associated with the slot type.
|
DeleteSlotTypeRequest |
withBotVersion(String botVersion)
The version of the bot associated with the slot type.
|
DeleteSlotTypeRequest |
withLocaleId(String localeId)
The identifier of the language and locale that the slot type will be deleted from.
|
DeleteSlotTypeRequest |
withSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, the
DeleteSlotType operations throws a ResourceInUseException exception if
you try to delete a slot type used by a slot. |
DeleteSlotTypeRequest |
withSlotTypeId(String slotTypeId)
The identifier of the slot type to delete.
|
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 setSlotTypeId(String slotTypeId)
The identifier of the slot type to delete.
slotTypeId
- The identifier of the slot type to delete.public String getSlotTypeId()
The identifier of the slot type to delete.
public DeleteSlotTypeRequest withSlotTypeId(String slotTypeId)
The identifier of the slot type to delete.
slotTypeId
- The identifier of the slot type to delete.public void setBotId(String botId)
The identifier of the bot associated with the slot type.
botId
- The identifier of the bot associated with the slot type.public String getBotId()
The identifier of the bot associated with the slot type.
public DeleteSlotTypeRequest withBotId(String botId)
The identifier of the bot associated with the slot type.
botId
- The identifier of the bot associated with the slot type.public void setBotVersion(String botVersion)
The version of the bot associated with the slot type.
botVersion
- The version of the bot associated with the slot type.public String getBotVersion()
The version of the bot associated with the slot type.
public DeleteSlotTypeRequest withBotVersion(String botVersion)
The version of the bot associated with the slot type.
botVersion
- The version of the bot associated with the slot type.public void setLocaleId(String localeId)
The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
localeId
- The identifier of the language and locale that the slot type will be deleted from. The string must match
one of the supported locales. For more information, see Supported languages.public String getLocaleId()
The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
public DeleteSlotTypeRequest withLocaleId(String localeId)
The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
localeId
- The identifier of the language and locale that the slot type will be deleted from. The string must match
one of the supported locales. For more information, see Supported languages.public void setSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, the DeleteSlotType
operations throws a ResourceInUseException
exception if
you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
parameter to
true
to skip this check and remove the slot type even if a slot uses it.
skipResourceInUseCheck
- By default, the DeleteSlotType
operations throws a ResourceInUseException
exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the slot type even if a slot uses it.public Boolean getSkipResourceInUseCheck()
By default, the DeleteSlotType
operations throws a ResourceInUseException
exception if
you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
parameter to
true
to skip this check and remove the slot type even if a slot uses it.
DeleteSlotType
operations throws a ResourceInUseException
exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the slot type even if a slot uses it.public DeleteSlotTypeRequest withSkipResourceInUseCheck(Boolean skipResourceInUseCheck)
By default, the DeleteSlotType
operations throws a ResourceInUseException
exception if
you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
parameter to
true
to skip this check and remove the slot type even if a slot uses it.
skipResourceInUseCheck
- By default, the DeleteSlotType
operations throws a ResourceInUseException
exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the slot type even if a slot uses it.public Boolean isSkipResourceInUseCheck()
By default, the DeleteSlotType
operations throws a ResourceInUseException
exception if
you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
parameter to
true
to skip this check and remove the slot type even if a slot uses it.
DeleteSlotType
operations throws a ResourceInUseException
exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck
parameter to true
to skip this check and remove the slot type even if a slot uses it.public String toString()
toString
in class Object
Object.toString()
public DeleteSlotTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()