@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSlotTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSlotTypeRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSlotTypeRequest |
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 slot type.
|
String |
getBotVersion()
The version of the bot that contains the slot type.
|
CompositeSlotTypeSetting |
getCompositeSlotTypeSetting()
Specifications for a composite slot type.
|
String |
getDescription()
The new description of the slot type.
|
ExternalSourceSetting |
getExternalSourceSetting() |
String |
getLocaleId()
The identifier of the language and locale that contains the slot type.
|
String |
getParentSlotTypeSignature()
The new built-in slot type that should be used as the parent of this slot type.
|
String |
getSlotTypeId()
The unique identifier of the slot type to update.
|
String |
getSlotTypeName()
The new name of the slot type.
|
List<SlotTypeValue> |
getSlotTypeValues()
A new list of values and their optional synonyms that define the values that the slot type can take.
|
SlotValueSelectionSetting |
getValueSelectionSetting()
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot that contains the slot type.
|
void |
setBotVersion(String botVersion)
The version of the bot that contains the slot type.
|
void |
setCompositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)
Specifications for a composite slot type.
|
void |
setDescription(String description)
The new description of the slot type.
|
void |
setExternalSourceSetting(ExternalSourceSetting externalSourceSetting) |
void |
setLocaleId(String localeId)
The identifier of the language and locale that contains the slot type.
|
void |
setParentSlotTypeSignature(String parentSlotTypeSignature)
The new built-in slot type that should be used as the parent of this slot type.
|
void |
setSlotTypeId(String slotTypeId)
The unique identifier of the slot type to update.
|
void |
setSlotTypeName(String slotTypeName)
The new name of the slot type.
|
void |
setSlotTypeValues(Collection<SlotTypeValue> slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
|
void |
setValueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSlotTypeRequest |
withBotId(String botId)
The identifier of the bot that contains the slot type.
|
UpdateSlotTypeRequest |
withBotVersion(String botVersion)
The version of the bot that contains the slot type.
|
UpdateSlotTypeRequest |
withCompositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)
Specifications for a composite slot type.
|
UpdateSlotTypeRequest |
withDescription(String description)
The new description of the slot type.
|
UpdateSlotTypeRequest |
withExternalSourceSetting(ExternalSourceSetting externalSourceSetting) |
UpdateSlotTypeRequest |
withLocaleId(String localeId)
The identifier of the language and locale that contains the slot type.
|
UpdateSlotTypeRequest |
withParentSlotTypeSignature(String parentSlotTypeSignature)
The new built-in slot type that should be used as the parent of this slot type.
|
UpdateSlotTypeRequest |
withSlotTypeId(String slotTypeId)
The unique identifier of the slot type to update.
|
UpdateSlotTypeRequest |
withSlotTypeName(String slotTypeName)
The new name of the slot type.
|
UpdateSlotTypeRequest |
withSlotTypeValues(Collection<SlotTypeValue> slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
|
UpdateSlotTypeRequest |
withSlotTypeValues(SlotTypeValue... slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
|
UpdateSlotTypeRequest |
withValueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
|
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 unique identifier of the slot type to update.
slotTypeId
- The unique identifier of the slot type to update.public String getSlotTypeId()
The unique identifier of the slot type to update.
public UpdateSlotTypeRequest withSlotTypeId(String slotTypeId)
The unique identifier of the slot type to update.
slotTypeId
- The unique identifier of the slot type to update.public void setSlotTypeName(String slotTypeName)
The new name of the slot type.
slotTypeName
- The new name of the slot type.public String getSlotTypeName()
The new name of the slot type.
public UpdateSlotTypeRequest withSlotTypeName(String slotTypeName)
The new name of the slot type.
slotTypeName
- The new name of the slot type.public void setDescription(String description)
The new description of the slot type.
description
- The new description of the slot type.public String getDescription()
The new description of the slot type.
public UpdateSlotTypeRequest withDescription(String description)
The new description of the slot type.
description
- The new description of the slot type.public List<SlotTypeValue> getSlotTypeValues()
A new list of values and their optional synonyms that define the values that the slot type can take.
public void setSlotTypeValues(Collection<SlotTypeValue> slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
slotTypeValues
- A new list of values and their optional synonyms that define the values that the slot type can take.public UpdateSlotTypeRequest withSlotTypeValues(SlotTypeValue... slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
NOTE: This method appends the values to the existing list (if any). Use
setSlotTypeValues(java.util.Collection)
or withSlotTypeValues(java.util.Collection)
if you want
to override the existing values.
slotTypeValues
- A new list of values and their optional synonyms that define the values that the slot type can take.public UpdateSlotTypeRequest withSlotTypeValues(Collection<SlotTypeValue> slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
slotTypeValues
- A new list of values and their optional synonyms that define the values that the slot type can take.public void setValueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
valueSelectionSetting
- The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.public SlotValueSelectionSetting getValueSelectionSetting()
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
public UpdateSlotTypeRequest withValueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
valueSelectionSetting
- The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.public void setParentSlotTypeSignature(String parentSlotTypeSignature)
The new built-in slot type that should be used as the parent of this slot type.
parentSlotTypeSignature
- The new built-in slot type that should be used as the parent of this slot type.public String getParentSlotTypeSignature()
The new built-in slot type that should be used as the parent of this slot type.
public UpdateSlotTypeRequest withParentSlotTypeSignature(String parentSlotTypeSignature)
The new built-in slot type that should be used as the parent of this slot type.
parentSlotTypeSignature
- The new built-in slot type that should be used as the parent of this slot type.public void setBotId(String botId)
The identifier of the bot that contains the slot type.
botId
- The identifier of the bot that contains the slot type.public String getBotId()
The identifier of the bot that contains the slot type.
public UpdateSlotTypeRequest withBotId(String botId)
The identifier of the bot that contains the slot type.
botId
- The identifier of the bot that contains the slot type.public void setBotVersion(String botVersion)
The version of the bot that contains the slot type. Must be DRAFT
.
botVersion
- The version of the bot that contains the slot type. Must be DRAFT
.public String getBotVersion()
The version of the bot that contains the slot type. Must be DRAFT
.
DRAFT
.public UpdateSlotTypeRequest withBotVersion(String botVersion)
The version of the bot that contains the slot type. Must be DRAFT
.
botVersion
- The version of the bot that contains the slot type. Must be DRAFT
.public void setLocaleId(String localeId)
The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.
localeId
- The identifier of the language and locale that contains the slot type. 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 contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.
public UpdateSlotTypeRequest withLocaleId(String localeId)
The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.
localeId
- The identifier of the language and locale that contains the slot type. The string must match one of the
supported locales. For more information, see Supported languages.public void setExternalSourceSetting(ExternalSourceSetting externalSourceSetting)
externalSourceSetting
- public ExternalSourceSetting getExternalSourceSetting()
public UpdateSlotTypeRequest withExternalSourceSetting(ExternalSourceSetting externalSourceSetting)
externalSourceSetting
- public void setCompositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)
Specifications for a composite slot type.
compositeSlotTypeSetting
- Specifications for a composite slot type.public CompositeSlotTypeSetting getCompositeSlotTypeSetting()
Specifications for a composite slot type.
public UpdateSlotTypeRequest withCompositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)
Specifications for a composite slot type.
compositeSlotTypeSetting
- Specifications for a composite slot type.public String toString()
toString
in class Object
Object.toString()
public UpdateSlotTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()