@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSlotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSlotRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSlotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The unique identifier of the bot that contains the slot.
|
String |
getBotVersion()
The version of the bot that contains the slot.
|
String |
getDescription()
The new description for the slot.
|
String |
getIntentId()
The identifier of the intent that contains the slot.
|
String |
getLocaleId()
The identifier of the language and locale that contains the slot.
|
MultipleValuesSetting |
getMultipleValuesSetting()
Determines whether the slot accepts multiple values in one response.
|
ObfuscationSetting |
getObfuscationSetting()
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
|
String |
getSlotId()
The unique identifier for the slot to update.
|
String |
getSlotName()
The new name for the slot.
|
String |
getSlotTypeId()
The unique identifier of the new slot type to associate with this slot.
|
SubSlotSetting |
getSubSlotSetting()
Specifications for the constituent sub slots and the expression for the composite slot.
|
SlotValueElicitationSetting |
getValueElicitationSetting()
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
|
int |
hashCode() |
void |
setBotId(String botId)
The unique identifier of the bot that contains the slot.
|
void |
setBotVersion(String botVersion)
The version of the bot that contains the slot.
|
void |
setDescription(String description)
The new description for the slot.
|
void |
setIntentId(String intentId)
The identifier of the intent that contains the slot.
|
void |
setLocaleId(String localeId)
The identifier of the language and locale that contains the slot.
|
void |
setMultipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Determines whether the slot accepts multiple values in one response.
|
void |
setObfuscationSetting(ObfuscationSetting obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
|
void |
setSlotId(String slotId)
The unique identifier for the slot to update.
|
void |
setSlotName(String slotName)
The new name for the slot.
|
void |
setSlotTypeId(String slotTypeId)
The unique identifier of the new slot type to associate with this slot.
|
void |
setSubSlotSetting(SubSlotSetting subSlotSetting)
Specifications for the constituent sub slots and the expression for the composite slot.
|
void |
setValueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSlotRequest |
withBotId(String botId)
The unique identifier of the bot that contains the slot.
|
UpdateSlotRequest |
withBotVersion(String botVersion)
The version of the bot that contains the slot.
|
UpdateSlotRequest |
withDescription(String description)
The new description for the slot.
|
UpdateSlotRequest |
withIntentId(String intentId)
The identifier of the intent that contains the slot.
|
UpdateSlotRequest |
withLocaleId(String localeId)
The identifier of the language and locale that contains the slot.
|
UpdateSlotRequest |
withMultipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Determines whether the slot accepts multiple values in one response.
|
UpdateSlotRequest |
withObfuscationSetting(ObfuscationSetting obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
|
UpdateSlotRequest |
withSlotId(String slotId)
The unique identifier for the slot to update.
|
UpdateSlotRequest |
withSlotName(String slotName)
The new name for the slot.
|
UpdateSlotRequest |
withSlotTypeId(String slotTypeId)
The unique identifier of the new slot type to associate with this slot.
|
UpdateSlotRequest |
withSubSlotSetting(SubSlotSetting subSlotSetting)
Specifications for the constituent sub slots and the expression for the composite slot.
|
UpdateSlotRequest |
withValueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
|
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 setSlotId(String slotId)
The unique identifier for the slot to update.
slotId
- The unique identifier for the slot to update.public String getSlotId()
The unique identifier for the slot to update.
public UpdateSlotRequest withSlotId(String slotId)
The unique identifier for the slot to update.
slotId
- The unique identifier for the slot to update.public void setSlotName(String slotName)
The new name for the slot.
slotName
- The new name for the slot.public String getSlotName()
The new name for the slot.
public UpdateSlotRequest withSlotName(String slotName)
The new name for the slot.
slotName
- The new name for the slot.public void setDescription(String description)
The new description for the slot.
description
- The new description for the slot.public String getDescription()
The new description for the slot.
public UpdateSlotRequest withDescription(String description)
The new description for the slot.
description
- The new description for the slot.public void setSlotTypeId(String slotTypeId)
The unique identifier of the new slot type to associate with this slot.
slotTypeId
- The unique identifier of the new slot type to associate with this slot.public String getSlotTypeId()
The unique identifier of the new slot type to associate with this slot.
public UpdateSlotRequest withSlotTypeId(String slotTypeId)
The unique identifier of the new slot type to associate with this slot.
slotTypeId
- The unique identifier of the new slot type to associate with this slot.public void setValueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
valueElicitationSetting
- A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the
slot.public SlotValueElicitationSetting getValueElicitationSetting()
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
public UpdateSlotRequest withValueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
valueElicitationSetting
- A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the
slot.public void setObfuscationSetting(ObfuscationSetting obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
obfuscationSetting
- New settings that determine how slot values are formatted in Amazon CloudWatch logs.public ObfuscationSetting getObfuscationSetting()
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
public UpdateSlotRequest withObfuscationSetting(ObfuscationSetting obfuscationSetting)
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
obfuscationSetting
- New settings that determine how slot values are formatted in Amazon CloudWatch logs.public void setBotId(String botId)
The unique identifier of the bot that contains the slot.
botId
- The unique identifier of the bot that contains the slot.public String getBotId()
The unique identifier of the bot that contains the slot.
public UpdateSlotRequest withBotId(String botId)
The unique identifier of the bot that contains the slot.
botId
- The unique identifier of the bot that contains the slot.public void setBotVersion(String botVersion)
The version of the bot that contains the slot. Must always be DRAFT
.
botVersion
- The version of the bot that contains the slot. Must always be DRAFT
.public String getBotVersion()
The version of the bot that contains the slot. Must always be DRAFT
.
DRAFT
.public UpdateSlotRequest withBotVersion(String botVersion)
The version of the bot that contains the slot. Must always be DRAFT
.
botVersion
- The version of the bot that contains the slot. Must always be DRAFT
.public void setLocaleId(String localeId)
The identifier of the language and locale that contains the slot. 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. 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. The string must match one of the supported locales. For more information, see Supported languages.
public UpdateSlotRequest withLocaleId(String localeId)
The identifier of the language and locale that contains the slot. 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. The string must match one of the
supported locales. For more information, see Supported languages.public void setIntentId(String intentId)
The identifier of the intent that contains the slot.
intentId
- The identifier of the intent that contains the slot.public String getIntentId()
The identifier of the intent that contains the slot.
public UpdateSlotRequest withIntentId(String intentId)
The identifier of the intent that contains the slot.
intentId
- The identifier of the intent that contains the slot.public void setMultipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in
the en-US locale. If you set this value to true
in any other locale, Amazon Lex throws a
ValidationException
.
If the multipleValuesSetting
is not set, the default value is false
.
multipleValuesSetting
- Determines whether the slot accepts multiple values in one response. Multiple value slots are only
available in the en-US locale. If you set this value to true
in any other locale, Amazon Lex
throws a ValidationException
.
If the multipleValuesSetting
is not set, the default value is false
.
public MultipleValuesSetting getMultipleValuesSetting()
Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in
the en-US locale. If you set this value to true
in any other locale, Amazon Lex throws a
ValidationException
.
If the multipleValuesSetting
is not set, the default value is false
.
true
in any other locale, Amazon Lex
throws a ValidationException
.
If the multipleValuesSetting
is not set, the default value is false
.
public UpdateSlotRequest withMultipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in
the en-US locale. If you set this value to true
in any other locale, Amazon Lex throws a
ValidationException
.
If the multipleValuesSetting
is not set, the default value is false
.
multipleValuesSetting
- Determines whether the slot accepts multiple values in one response. Multiple value slots are only
available in the en-US locale. If you set this value to true
in any other locale, Amazon Lex
throws a ValidationException
.
If the multipleValuesSetting
is not set, the default value is false
.
public void setSubSlotSetting(SubSlotSetting subSlotSetting)
Specifications for the constituent sub slots and the expression for the composite slot.
subSlotSetting
- Specifications for the constituent sub slots and the expression for the composite slot.public SubSlotSetting getSubSlotSetting()
Specifications for the constituent sub slots and the expression for the composite slot.
public UpdateSlotRequest withSubSlotSetting(SubSlotSetting subSlotSetting)
Specifications for the constituent sub slots and the expression for the composite slot.
subSlotSetting
- Specifications for the constituent sub slots and the expression for the composite slot.public String toString()
toString
in class Object
Object.toString()
public UpdateSlotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()