Interface UpdateSlotTypeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateSlotTypeResponse.Builder,UpdateSlotTypeResponse>,LexModelsV2Response.Builder,SdkBuilder<UpdateSlotTypeResponse.Builder,UpdateSlotTypeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateSlotTypeResponse
public static interface UpdateSlotTypeResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateSlotTypeResponse.Builder,UpdateSlotTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSlotTypeResponse.BuilderbotId(String botId)The identifier of the bot that contains the slot type.UpdateSlotTypeResponse.BuilderbotVersion(String botVersion)The version of the bot that contains the slot type.default UpdateSlotTypeResponse.BuildercompositeSlotTypeSetting(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting)Specifications for a composite slot type.UpdateSlotTypeResponse.BuildercompositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)Specifications for a composite slot type.UpdateSlotTypeResponse.BuildercreationDateTime(Instant creationDateTime)The timestamp of the date and time that the slot type was created.UpdateSlotTypeResponse.Builderdescription(String description)The updated description of the slot type.default UpdateSlotTypeResponse.BuilderexternalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting)Sets the value of the ExternalSourceSetting property for this object.UpdateSlotTypeResponse.BuilderexternalSourceSetting(ExternalSourceSetting externalSourceSetting)Sets the value of the ExternalSourceSetting property for this object.UpdateSlotTypeResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)A timestamp of the date and time that the slot type was last updated.UpdateSlotTypeResponse.BuilderlocaleId(String localeId)The language and locale of the updated slot type.UpdateSlotTypeResponse.BuilderparentSlotTypeSignature(String parentSlotTypeSignature)The updated signature of the built-in slot type that is the parent of this slot type.UpdateSlotTypeResponse.BuilderslotTypeId(String slotTypeId)The unique identifier of the updated slot type.UpdateSlotTypeResponse.BuilderslotTypeName(String slotTypeName)The updated name of the slot type.UpdateSlotTypeResponse.BuilderslotTypeValues(Collection<SlotTypeValue> slotTypeValues)The updated values that the slot type provides.UpdateSlotTypeResponse.BuilderslotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)The updated values that the slot type provides.UpdateSlotTypeResponse.BuilderslotTypeValues(SlotTypeValue... slotTypeValues)The updated values that the slot type provides.default UpdateSlotTypeResponse.BuildervalueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting)The updated strategy that Amazon Lex uses to determine which value to select from the slot type.UpdateSlotTypeResponse.BuildervalueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)The updated strategy that Amazon Lex uses to determine which value to select from the slot type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
slotTypeId
UpdateSlotTypeResponse.Builder slotTypeId(String slotTypeId)
The unique identifier of the updated slot type.
- Parameters:
slotTypeId- The unique identifier of the updated slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeName
UpdateSlotTypeResponse.Builder slotTypeName(String slotTypeName)
The updated name of the slot type.
- Parameters:
slotTypeName- The updated name of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateSlotTypeResponse.Builder description(String description)
The updated description of the slot type.
- Parameters:
description- The updated description of the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
UpdateSlotTypeResponse.Builder slotTypeValues(Collection<SlotTypeValue> slotTypeValues)
The updated values that the slot type provides.
- Parameters:
slotTypeValues- The updated values that the slot type provides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
UpdateSlotTypeResponse.Builder slotTypeValues(SlotTypeValue... slotTypeValues)
The updated values that the slot type provides.
- Parameters:
slotTypeValues- The updated values that the slot type provides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
UpdateSlotTypeResponse.Builder slotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)
The updated values that the slot type provides.
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
UpdateSlotTypeResponse.Builder valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The updated strategy that Amazon Lex uses to determine which value to select from the slot type.
- Parameters:
valueSelectionSetting- The updated strategy that Amazon Lex uses to determine which value to select from the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueSelectionSetting
default UpdateSlotTypeResponse.Builder valueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting)
The updated strategy that Amazon Lex uses to determine which value to select from the slot type.
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
UpdateSlotTypeResponse.Builder parentSlotTypeSignature(String parentSlotTypeSignature)
The updated signature of the built-in slot type that is the parent of this slot type.
- Parameters:
parentSlotTypeSignature- The updated signature of the built-in slot type that is the parent of this slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botId
UpdateSlotTypeResponse.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
UpdateSlotTypeResponse.Builder botVersion(String botVersion)
The version of the bot that contains the slot type. This is always
DRAFT.- Parameters:
botVersion- The version of the bot that contains the slot type. This is alwaysDRAFT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
UpdateSlotTypeResponse.Builder localeId(String localeId)
The language and locale of the updated slot type.
- Parameters:
localeId- The language and locale of the updated slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
UpdateSlotTypeResponse.Builder creationDateTime(Instant creationDateTime)
The timestamp of the date and time that the slot type was created.
- Parameters:
creationDateTime- The timestamp of the date and time that the slot type was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
UpdateSlotTypeResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
A timestamp of the date and time that the slot type was last updated.
- Parameters:
lastUpdatedDateTime- A timestamp of the date and time that the slot type was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalSourceSetting
UpdateSlotTypeResponse.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 UpdateSlotTypeResponse.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
UpdateSlotTypeResponse.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 UpdateSlotTypeResponse.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)
-
-