Interface FoundationModelConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FoundationModelConfiguration.Builder,,FoundationModelConfiguration> SdkBuilder<FoundationModelConfiguration.Builder,,FoundationModelConfiguration> SdkPojo
- Enclosing class:
FoundationModelConfiguration
@Mutable
@NotThreadSafe
public static interface FoundationModelConfiguration.Builder
extends SdkPojo, CopyableBuilder<FoundationModelConfiguration.Builder,FoundationModelConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbedrockFoundationModelConfiguration(Consumer<BedrockFoundationModelConfiguration.Builder> bedrockFoundationModelConfiguration) The Bedrock foundation model configuration.bedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration bedrockFoundationModelConfiguration) The Bedrock foundation model configuration.The type of foundation model configuration.The type of foundation model configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bedrockFoundationModelConfiguration
FoundationModelConfiguration.Builder bedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration bedrockFoundationModelConfiguration) The Bedrock foundation model configuration.
- Parameters:
bedrockFoundationModelConfiguration- The Bedrock foundation model configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockFoundationModelConfiguration
default FoundationModelConfiguration.Builder bedrockFoundationModelConfiguration(Consumer<BedrockFoundationModelConfiguration.Builder> bedrockFoundationModelConfiguration) The Bedrock foundation model configuration.
This is a convenience method that creates an instance of theBedrockFoundationModelConfiguration.Builderavoiding the need to create one manually viaBedrockFoundationModelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration).- Parameters:
bedrockFoundationModelConfiguration- a consumer that will call methods onBedrockFoundationModelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of foundation model configuration.
- Parameters:
type- The type of foundation model configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of foundation model configuration.
- Parameters:
type- The type of foundation model configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-