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