Interface EvaluationBedrockModel.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EvaluationBedrockModel.Builder,
,EvaluationBedrockModel> SdkBuilder<EvaluationBedrockModel.Builder,
,EvaluationBedrockModel> SdkPojo
- Enclosing class:
EvaluationBedrockModel
@Mutable
@NotThreadSafe
public static interface EvaluationBedrockModel.Builder
extends SdkPojo, CopyableBuilder<EvaluationBedrockModel.Builder,EvaluationBedrockModel>
-
Method Summary
Modifier and TypeMethodDescriptioninferenceParams
(String inferenceParams) Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.modelIdentifier
(String modelIdentifier) The ARN of the Amazon Bedrock model or inference profile specified.default EvaluationBedrockModel.Builder
performanceConfig
(Consumer<PerformanceConfiguration.Builder> performanceConfig) Specifies performance settings for the model or inference profile.performanceConfig
(PerformanceConfiguration performanceConfig) Specifies performance settings for the model or inference profile.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
-
modelIdentifier
The ARN of the Amazon Bedrock model or inference profile specified.
- Parameters:
modelIdentifier
- The ARN of the Amazon Bedrock model or inference profile specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceParams
Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.
- Parameters:
inferenceParams
- Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceConfig
Specifies performance settings for the model or inference profile.
- Parameters:
performanceConfig
- Specifies performance settings for the model or inference profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceConfig
default EvaluationBedrockModel.Builder performanceConfig(Consumer<PerformanceConfiguration.Builder> performanceConfig) Specifies performance settings for the model or inference profile.
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:
-