Interface CreateSlotTypeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSlotTypeResponse.Builder,CreateSlotTypeResponse>,LexModelsV2Response.Builder,SdkBuilder<CreateSlotTypeResponse.Builder,CreateSlotTypeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSlotTypeResponse
public static interface CreateSlotTypeResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateSlotTypeResponse.Builder,CreateSlotTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateSlotTypeResponse.BuilderbotId(String botId)The identifier for the bot associated with the slot type.CreateSlotTypeResponse.BuilderbotVersion(String botVersion)The version of the bot associated with the slot type.default CreateSlotTypeResponse.BuildercompositeSlotTypeSetting(Consumer<CompositeSlotTypeSetting.Builder> compositeSlotTypeSetting)Specifications for a composite slot type.CreateSlotTypeResponse.BuildercompositeSlotTypeSetting(CompositeSlotTypeSetting compositeSlotTypeSetting)Specifications for a composite slot type.CreateSlotTypeResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the slot type was created.CreateSlotTypeResponse.Builderdescription(String description)The description specified for the slot type.default CreateSlotTypeResponse.BuilderexternalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting)The type of external information used to create the slot type.CreateSlotTypeResponse.BuilderexternalSourceSetting(ExternalSourceSetting externalSourceSetting)The type of external information used to create the slot type.CreateSlotTypeResponse.BuilderlocaleId(String localeId)The specified language and local specified for the slot type.CreateSlotTypeResponse.BuilderparentSlotTypeSignature(String parentSlotTypeSignature)The signature of the base slot type specified for the slot type.CreateSlotTypeResponse.BuilderslotTypeId(String slotTypeId)The unique identifier assigned to the slot type.CreateSlotTypeResponse.BuilderslotTypeName(String slotTypeName)The name specified for the slot type.CreateSlotTypeResponse.BuilderslotTypeValues(Collection<SlotTypeValue> slotTypeValues)The list of values that the slot type can assume.CreateSlotTypeResponse.BuilderslotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)The list of values that the slot type can assume.CreateSlotTypeResponse.BuilderslotTypeValues(SlotTypeValue... slotTypeValues)The list of values that the slot type can assume.default CreateSlotTypeResponse.BuildervalueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting)The strategy that Amazon Lex uses to select a value from the list of possible values.CreateSlotTypeResponse.BuildervalueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)The strategy that Amazon Lex uses to select a value from the list of possible values.-
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
CreateSlotTypeResponse.Builder slotTypeId(String slotTypeId)
The unique identifier assigned to the slot type. Use this to identify the slot type in the
UpdateSlotTypeandDeleteSlotTypeoperations.- Parameters:
slotTypeId- The unique identifier assigned to the slot type. Use this to identify the slot type in theUpdateSlotTypeandDeleteSlotTypeoperations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeName
CreateSlotTypeResponse.Builder slotTypeName(String slotTypeName)
The name specified for the slot type.
- Parameters:
slotTypeName- The name specified for the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateSlotTypeResponse.Builder description(String description)
The description specified for the slot type.
- Parameters:
description- The description specified for the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
CreateSlotTypeResponse.Builder slotTypeValues(Collection<SlotTypeValue> slotTypeValues)
The list of values that the slot type can assume.
- Parameters:
slotTypeValues- The list of values that the slot type can assume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
CreateSlotTypeResponse.Builder slotTypeValues(SlotTypeValue... slotTypeValues)
The list of values that the slot type can assume.
- Parameters:
slotTypeValues- The list of values that the slot type can assume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeValues
CreateSlotTypeResponse.Builder slotTypeValues(Consumer<SlotTypeValue.Builder>... slotTypeValues)
The list of values that the slot type can assume.
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
CreateSlotTypeResponse.Builder valueSelectionSetting(SlotValueSelectionSetting valueSelectionSetting)
The strategy that Amazon Lex uses to select a value from the list of possible values.
- Parameters:
valueSelectionSetting- The strategy that Amazon Lex uses to select a value from the list of possible values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueSelectionSetting
default CreateSlotTypeResponse.Builder valueSelectionSetting(Consumer<SlotValueSelectionSetting.Builder> valueSelectionSetting)
The strategy that Amazon Lex uses to select a value from the list of possible 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
CreateSlotTypeResponse.Builder parentSlotTypeSignature(String parentSlotTypeSignature)
The signature of the base slot type specified for the slot type.
- Parameters:
parentSlotTypeSignature- The signature of the base slot type specified for the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botId
CreateSlotTypeResponse.Builder botId(String botId)
The identifier for the bot associated with the slot type.
- Parameters:
botId- The identifier for the bot associated with the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
CreateSlotTypeResponse.Builder botVersion(String botVersion)
The version of the bot associated with the slot type.
- Parameters:
botVersion- The version of the bot associated with the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
CreateSlotTypeResponse.Builder localeId(String localeId)
The specified language and local specified for the slot type.
- Parameters:
localeId- The specified language and local specified for the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
CreateSlotTypeResponse.Builder creationDateTime(Instant creationDateTime)
A timestamp of the date and time that the slot type was created.
- Parameters:
creationDateTime- A 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.
-
externalSourceSetting
CreateSlotTypeResponse.Builder externalSourceSetting(ExternalSourceSetting externalSourceSetting)
The type of external information used to create the slot type.
- Parameters:
externalSourceSetting- The type of external information used to create the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalSourceSetting
default CreateSlotTypeResponse.Builder externalSourceSetting(Consumer<ExternalSourceSetting.Builder> externalSourceSetting)
The type of external information used to create the slot type.
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
CreateSlotTypeResponse.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 CreateSlotTypeResponse.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)
-
-