Interface SlotResolutionImprovementSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SlotResolutionImprovementSpecification.Builder,
,SlotResolutionImprovementSpecification> SdkBuilder<SlotResolutionImprovementSpecification.Builder,
,SlotResolutionImprovementSpecification> SdkPojo
- Enclosing class:
SlotResolutionImprovementSpecification
@Mutable
@NotThreadSafe
public static interface SlotResolutionImprovementSpecification.Builder
extends SdkPojo, CopyableBuilder<SlotResolutionImprovementSpecification.Builder,SlotResolutionImprovementSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionbedrockModelSpecification
(Consumer<BedrockModelSpecification.Builder> bedrockModelSpecification) An object containing information about the Amazon Bedrock model used to assist slot resolution.bedrockModelSpecification
(BedrockModelSpecification bedrockModelSpecification) An object containing information about the Amazon Bedrock model used to assist slot resolution.Specifies whether assisted slot resolution is turned on or off.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
-
enabled
Specifies whether assisted slot resolution is turned on or off.
- Parameters:
enabled
- Specifies whether assisted slot resolution is turned on or off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockModelSpecification
SlotResolutionImprovementSpecification.Builder bedrockModelSpecification(BedrockModelSpecification bedrockModelSpecification) An object containing information about the Amazon Bedrock model used to assist slot resolution.
- Parameters:
bedrockModelSpecification
- An object containing information about the Amazon Bedrock model used to assist slot resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockModelSpecification
default SlotResolutionImprovementSpecification.Builder bedrockModelSpecification(Consumer<BedrockModelSpecification.Builder> bedrockModelSpecification) An object containing information about the Amazon Bedrock model used to assist slot resolution.
This is a convenience method that creates an instance of theBedrockModelSpecification.Builder
avoiding the need to create one manually viaBedrockModelSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobedrockModelSpecification(BedrockModelSpecification)
.- Parameters:
bedrockModelSpecification
- a consumer that will call methods onBedrockModelSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-