Interface UpdateSlotTypeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSlotTypeRequest.Builder,UpdateSlotTypeRequest>,LexModelsV2Request.Builder,SdkBuilder<UpdateSlotTypeRequest.Builder,UpdateSlotTypeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSlotTypeRequest
public static interface UpdateSlotTypeRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<UpdateSlotTypeRequest.Builder,UpdateSlotTypeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSlotTypeRequest.BuilderbotId(String botId)The identifier of the bot that contains the slot type.UpdateSlotTypeRequest.BuilderbotVersion(String botVersion)The version of the bot that contains the slot type.default UpdateSlotTypeRequest.BuildercompositeSlotTypeSetting(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting)Specifications for a composite slot type.UpdateSlotTypeRequest.BuildercompositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)Specifications for a composite slot type.UpdateSlotTypeRequest.Builderdescription(String description)The new description of the slot type.default UpdateSlotTypeRequest.BuilderexternalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting)Sets the value of the ExternalSourceSetting property for this object.UpdateSlotTypeRequest.BuilderexternalSourceSetting(ExternalSourceSetting externalSourceSetting)Sets the value of the ExternalSourceSetting property for this object.UpdateSlotTypeRequest.BuilderlocaleId(String localeId)The identifier of the language and locale that contains the slot type.UpdateSlotTypeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSlotTypeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSlotTypeRequest.BuilderparentSlotTypeSignature(String parentSlotTypeSignature)The new built-in slot type that should be used as the parent of this slot type.UpdateSlotTypeRequest.BuilderslotTypeId(String slotTypeId)The unique identifier of the slot type to update.UpdateSlotTypeRequest.BuilderslotTypeName(String slotTypeName)The new name of the slot type.UpdateSlotTypeRequest.BuilderslotTypeValues(Collection<SlotTypeValue> slotTypeValues)A new list of values and their optional synonyms that define the values that the slot type can take.UpdateSlotTypeRequest.BuilderslotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)A new list of values and their optional synonyms that define the values that the slot type can take.UpdateSlotTypeRequest.BuilderslotTypeValues(SlotTypeValue... slotTypeValues)A new list of values and their optional synonyms that define the values that the slot type can take.default UpdateSlotTypeRequest.BuildervalueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting)The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.UpdateSlotTypeRequest.BuildervalueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
slotTypeId
UpdateSlotTypeRequest.Builder slotTypeId(String slotTypeId)
The unique identifier of the slot type to update.
- Parameters:
slotTypeId- The unique identifier of the slot type to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeName
UpdateSlotTypeRequest.Builder slotTypeName(String slotTypeName)
The new name of the slot type.
- Parameters:
slotTypeName- The new name of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateSlotTypeRequest.Builder description(String description)
The new description of the slot type.
- Parameters:
description- The new description of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
UpdateSlotTypeRequest.Builder slotTypeValues(Collection<SlotTypeValue> slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
- Parameters:
slotTypeValues- A new list of values and their optional synonyms that define the values that the slot type can take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
UpdateSlotTypeRequest.Builder slotTypeValues(SlotTypeValue... slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
- Parameters:
slotTypeValues- A new list of values and their optional synonyms that define the values that the slot type can take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
UpdateSlotTypeRequest.Builder slotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)
A new list of values and their optional synonyms that define the values that the slot type can take.
This is a convenience method that creates an instance of theSlotTypeValue.Builderavoiding the need to create one manually viaSlotTypeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slotTypeValues(List.) - Parameters:
slotTypeValues- a consumer that will call methods onSlotTypeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#slotTypeValues(java.util.Collection)
-
valueSelectionSetting
UpdateSlotTypeRequest.Builder valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
- Parameters:
valueSelectionSetting- The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueSelectionSetting
default UpdateSlotTypeRequest.Builder valueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting)
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.
This is a convenience method that creates an instance of theSlotValueSelectionSetting.Builderavoiding the need to create one manually viaSlotValueSelectionSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalueSelectionSetting(SlotValueSelectionSetting).- Parameters:
valueSelectionSetting- a consumer that will call methods onSlotValueSelectionSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
valueSelectionSetting(SlotValueSelectionSetting)
-
parentSlotTypeSignature
UpdateSlotTypeRequest.Builder parentSlotTypeSignature(String parentSlotTypeSignature)
The new built-in slot type that should be used as the parent of this slot type.
- Parameters:
parentSlotTypeSignature- The new built-in slot type that should be used as the parent of this slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botId
UpdateSlotTypeRequest.Builder botId(String botId)
The identifier of the bot that contains the slot type.
- Parameters:
botId- The identifier of the bot that contains the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
UpdateSlotTypeRequest.Builder botVersion(String botVersion)
The version of the bot that contains the slot type. Must be
DRAFT.- Parameters:
botVersion- The version of the bot that contains the slot type. Must beDRAFT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
UpdateSlotTypeRequest.Builder localeId(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalSourceSetting
UpdateSlotTypeRequest.Builder externalSourceSetting(ExternalSourceSetting externalSourceSetting)
Sets the value of the ExternalSourceSetting property for this object.- Parameters:
externalSourceSetting- The new value for the ExternalSourceSetting property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalSourceSetting
default UpdateSlotTypeRequest.Builder externalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting)
Sets the value of the ExternalSourceSetting property for this object. This is a convenience method that creates an instance of theExternalSourceSetting.Builderavoiding the need to create one manually viaExternalSourceSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalSourceSetting(ExternalSourceSetting).- Parameters:
externalSourceSetting- a consumer that will call methods onExternalSourceSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
externalSourceSetting(ExternalSourceSetting)
-
compositeSlotTypeSetting
UpdateSlotTypeRequest.Builder compositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)
Specifications for a composite slot type.
- Parameters:
compositeSlotTypeSetting- Specifications for a composite slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositeSlotTypeSetting
default UpdateSlotTypeRequest.Builder compositeSlotTypeSetting(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting)
Specifications for a composite slot type.
This is a convenience method that creates an instance of theCompositeSlotTypeSetting.Builderavoiding the need to create one manually viaCompositeSlotTypeSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompositeSlotTypeSetting(CompositeSlotTypeSetting).- Parameters:
compositeSlotTypeSetting- a consumer that will call methods onCompositeSlotTypeSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
compositeSlotTypeSetting(CompositeSlotTypeSetting)
-
overrideConfiguration
UpdateSlotTypeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSlotTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-