Interface BedrockFoundationModelConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BedrockFoundationModelConfiguration.Builder,,BedrockFoundationModelConfiguration> SdkBuilder<BedrockFoundationModelConfiguration.Builder,,BedrockFoundationModelConfiguration> SdkPojo
- Enclosing class:
BedrockFoundationModelConfiguration
@Mutable
@NotThreadSafe
public static interface BedrockFoundationModelConfiguration.Builder
extends SdkPojo, CopyableBuilder<BedrockFoundationModelConfiguration.Builder,BedrockFoundationModelConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionmodelConfiguration(Consumer<BedrockFoundationModelModelConfiguration.Builder> modelConfiguration) The model configuration containing the model ARN.modelConfiguration(BedrockFoundationModelModelConfiguration modelConfiguration) The model configuration containing the model ARN.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
-
modelConfiguration
BedrockFoundationModelConfiguration.Builder modelConfiguration(BedrockFoundationModelModelConfiguration modelConfiguration) The model configuration containing the model ARN.
- Parameters:
modelConfiguration- The model configuration containing the model ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelConfiguration
default BedrockFoundationModelConfiguration.Builder modelConfiguration(Consumer<BedrockFoundationModelModelConfiguration.Builder> modelConfiguration) The model configuration containing the model ARN.
This is a convenience method that creates an instance of theBedrockFoundationModelModelConfiguration.Builderavoiding the need to create one manually viaBedrockFoundationModelModelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelConfiguration(BedrockFoundationModelModelConfiguration).- Parameters:
modelConfiguration- a consumer that will call methods onBedrockFoundationModelModelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-