Interface RuntimeSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuntimeSettings.Builder,
,RuntimeSettings> SdkBuilder<RuntimeSettings.Builder,
,RuntimeSettings> SdkPojo
- Enclosing class:
RuntimeSettings
@Mutable
@NotThreadSafe
public static interface RuntimeSettings.Builder
extends SdkPojo, CopyableBuilder<RuntimeSettings.Builder,RuntimeSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuntimeSettings.Builder
nluImprovement
(Consumer<NluImprovementSpecification.Builder> nluImprovement) An object containing specifications for the assisted nlu feature.nluImprovement
(NluImprovementSpecification nluImprovement) An object containing specifications for the assisted nlu feature.default RuntimeSettings.Builder
slotResolutionImprovement
(Consumer<SlotResolutionImprovementSpecification.Builder> slotResolutionImprovement) An object containing specifications for the assisted slot resolution feature.slotResolutionImprovement
(SlotResolutionImprovementSpecification slotResolutionImprovement) An object containing specifications for the assisted slot resolution feature.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
slotResolutionImprovement
RuntimeSettings.Builder slotResolutionImprovement(SlotResolutionImprovementSpecification slotResolutionImprovement) An object containing specifications for the assisted slot resolution feature.
- Parameters:
slotResolutionImprovement
- An object containing specifications for the assisted slot resolution feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotResolutionImprovement
default RuntimeSettings.Builder slotResolutionImprovement(Consumer<SlotResolutionImprovementSpecification.Builder> slotResolutionImprovement) An object containing specifications for the assisted slot resolution feature.
This is a convenience method that creates an instance of theSlotResolutionImprovementSpecification.Builder
avoiding the need to create one manually viaSlotResolutionImprovementSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslotResolutionImprovement(SlotResolutionImprovementSpecification)
.- Parameters:
slotResolutionImprovement
- a consumer that will call methods onSlotResolutionImprovementSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nluImprovement
An object containing specifications for the assisted nlu feature.
- Parameters:
nluImprovement
- An object containing specifications for the assisted nlu feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nluImprovement
default RuntimeSettings.Builder nluImprovement(Consumer<NluImprovementSpecification.Builder> nluImprovement) An object containing specifications for the assisted nlu feature.
This is a convenience method that creates an instance of theNluImprovementSpecification.Builder
avoiding the need to create one manually viaNluImprovementSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonluImprovement(NluImprovementSpecification)
.- Parameters:
nluImprovement
- a consumer that will call methods onNluImprovementSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-