Interface ContextEnrichmentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContextEnrichmentConfiguration.Builder,ContextEnrichmentConfiguration>,SdkBuilder<ContextEnrichmentConfiguration.Builder,ContextEnrichmentConfiguration>,SdkPojo
- Enclosing class:
- ContextEnrichmentConfiguration
@Mutable @NotThreadSafe public static interface ContextEnrichmentConfiguration.Builder extends SdkPojo, CopyableBuilder<ContextEnrichmentConfiguration.Builder,ContextEnrichmentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ContextEnrichmentConfiguration.BuilderbedrockFoundationModelConfiguration(Consumer<BedrockFoundationModelContextEnrichmentConfiguration.Builder> bedrockFoundationModelConfiguration)The configuration of the Amazon Bedrock foundation model used for context enrichment.ContextEnrichmentConfiguration.BuilderbedrockFoundationModelConfiguration(BedrockFoundationModelContextEnrichmentConfiguration bedrockFoundationModelConfiguration)The configuration of the Amazon Bedrock foundation model used for context enrichment.ContextEnrichmentConfiguration.Buildertype(String type)The method used for context enrichment.ContextEnrichmentConfiguration.Buildertype(ContextEnrichmentType type)The method used for context enrichment.-
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 Detail
-
type
ContextEnrichmentConfiguration.Builder type(String type)
The method used for context enrichment. It must be Amazon Bedrock foundation models.
- Parameters:
type- The method used for context enrichment. It must be Amazon Bedrock foundation models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContextEnrichmentType,ContextEnrichmentType
-
type
ContextEnrichmentConfiguration.Builder type(ContextEnrichmentType type)
The method used for context enrichment. It must be Amazon Bedrock foundation models.
- Parameters:
type- The method used for context enrichment. It must be Amazon Bedrock foundation models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContextEnrichmentType,ContextEnrichmentType
-
bedrockFoundationModelConfiguration
ContextEnrichmentConfiguration.Builder bedrockFoundationModelConfiguration(BedrockFoundationModelContextEnrichmentConfiguration bedrockFoundationModelConfiguration)
The configuration of the Amazon Bedrock foundation model used for context enrichment.
- Parameters:
bedrockFoundationModelConfiguration- The configuration of the Amazon Bedrock foundation model used for context enrichment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockFoundationModelConfiguration
default ContextEnrichmentConfiguration.Builder bedrockFoundationModelConfiguration(Consumer<BedrockFoundationModelContextEnrichmentConfiguration.Builder> bedrockFoundationModelConfiguration)
The configuration of the Amazon Bedrock foundation model used for context enrichment.
This is a convenience method that creates an instance of theBedrockFoundationModelContextEnrichmentConfiguration.Builderavoiding the need to create one manually viaBedrockFoundationModelContextEnrichmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockFoundationModelConfiguration(BedrockFoundationModelContextEnrichmentConfiguration).- Parameters:
bedrockFoundationModelConfiguration- a consumer that will call methods onBedrockFoundationModelContextEnrichmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bedrockFoundationModelConfiguration(BedrockFoundationModelContextEnrichmentConfiguration)
-
-