Interface BedrockModelConfigurations.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BedrockModelConfigurations.Builder,
,BedrockModelConfigurations> SdkBuilder<BedrockModelConfigurations.Builder,
,BedrockModelConfigurations> SdkPojo
- Enclosing class:
BedrockModelConfigurations
@Mutable
@NotThreadSafe
public static interface BedrockModelConfigurations.Builder
extends SdkPojo, CopyableBuilder<BedrockModelConfigurations.Builder,BedrockModelConfigurations>
-
Method Summary
Modifier and TypeMethodDescriptionperformanceConfig
(Consumer<PerformanceConfiguration.Builder> performanceConfig) The performance configuration for the model.performanceConfig
(PerformanceConfiguration performanceConfig) The performance configuration for the model.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
-
performanceConfig
The performance configuration for the model.
- Parameters:
performanceConfig
- The performance configuration for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceConfig
default BedrockModelConfigurations.Builder performanceConfig(Consumer<PerformanceConfiguration.Builder> performanceConfig) The performance configuration for the model.
This is a convenience method that creates an instance of thePerformanceConfiguration.Builder
avoiding the need to create one manually viaPerformanceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toperformanceConfig(PerformanceConfiguration)
.- Parameters:
performanceConfig
- a consumer that will call methods onPerformanceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-