Class UpdateSlotRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request
-
- software.amazon.awssdk.services.lexmodelsv2.model.UpdateSlotRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateSlotRequest.Builder,UpdateSlotRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateSlotRequest extends LexModelsV2Request implements ToCopyableBuilder<UpdateSlotRequest.Builder,UpdateSlotRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateSlotRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The unique identifier of the bot that contains the slot.StringbotVersion()The version of the bot that contains the slot.static UpdateSlotRequest.Builderbuilder()Stringdescription()The new description for the slot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringintentId()The identifier of the intent that contains the slot.StringlocaleId()The identifier of the language and locale that contains the slot.MultipleValuesSettingmultipleValuesSetting()Determines whether the slot accepts multiple values in one response.ObfuscationSettingobfuscationSetting()New settings that determine how slot values are formatted in Amazon CloudWatch logs.List<SdkField<?>>sdkFields()static Class<? extends UpdateSlotRequest.Builder>serializableBuilderClass()StringslotId()The unique identifier for the slot to update.StringslotName()The new name for the slot.StringslotTypeId()The unique identifier of the new slot type to associate with this slot.SubSlotSettingsubSlotSetting()Specifications for the constituent sub slots and the expression for the composite slot.UpdateSlotRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.SlotValueElicitationSettingvalueElicitationSetting()A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
slotId
public final String slotId()
The unique identifier for the slot to update.
- Returns:
- The unique identifier for the slot to update.
-
slotName
public final String slotName()
The new name for the slot.
- Returns:
- The new name for the slot.
-
description
public final String description()
The new description for the slot.
- Returns:
- The new description for the slot.
-
slotTypeId
public final String slotTypeId()
The unique identifier of the new slot type to associate with this slot.
- Returns:
- The unique identifier of the new slot type to associate with this slot.
-
valueElicitationSetting
public final 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.
- Returns:
- A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
-
obfuscationSetting
public final ObfuscationSetting obfuscationSetting()
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
- Returns:
- New settings that determine how slot values are formatted in Amazon CloudWatch logs.
-
botId
public final String botId()
The unique identifier of the bot that contains the slot.
- Returns:
- The unique identifier of the bot that contains the slot.
-
botVersion
public final String botVersion()
The version of the bot that contains the slot. Must always be
DRAFT.- Returns:
- The version of the bot that contains the slot. Must always be
DRAFT.
-
localeId
public final 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.
- Returns:
- 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.
-
intentId
public final String intentId()
The identifier of the intent that contains the slot.
- Returns:
- The identifier of the intent that contains the slot.
-
multipleValuesSetting
public final 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
truein any other locale, Amazon Lex throws aValidationException.If the
multipleValuesSettingis not set, the default value isfalse.- Returns:
- 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
truein any other locale, Amazon Lex throws aValidationException.If the
multipleValuesSettingis not set, the default value isfalse.
-
subSlotSetting
public final SubSlotSetting subSlotSetting()
Specifications for the constituent sub slots and the expression for the composite slot.
- Returns:
- Specifications for the constituent sub slots and the expression for the composite slot.
-
toBuilder
public UpdateSlotRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateSlotRequest.Builder,UpdateSlotRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static UpdateSlotRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateSlotRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-