Interface DescriptiveBotBuilderSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DescriptiveBotBuilderSpecification.Builder,
,DescriptiveBotBuilderSpecification> SdkBuilder<DescriptiveBotBuilderSpecification.Builder,
,DescriptiveBotBuilderSpecification> SdkPojo
- Enclosing class:
DescriptiveBotBuilderSpecification
@Mutable
@NotThreadSafe
public static interface DescriptiveBotBuilderSpecification.Builder
extends SdkPojo, CopyableBuilder<DescriptiveBotBuilderSpecification.Builder,DescriptiveBotBuilderSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionbedrockModelSpecification
(Consumer<BedrockModelSpecification.Builder> bedrockModelSpecification) An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.bedrockModelSpecification
(BedrockModelSpecification bedrockModelSpecification) An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.Specifies whether the descriptive bot building feature is activated or not.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 the descriptive bot building feature is activated or not.
- Parameters:
enabled
- Specifies whether the descriptive bot building feature is activated or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockModelSpecification
DescriptiveBotBuilderSpecification.Builder bedrockModelSpecification(BedrockModelSpecification bedrockModelSpecification) An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
- Parameters:
bedrockModelSpecification
- An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockModelSpecification
default DescriptiveBotBuilderSpecification.Builder bedrockModelSpecification(Consumer<BedrockModelSpecification.Builder> bedrockModelSpecification) An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
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:
-