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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EvaluationBedrockModel.BuilderinferenceParams(String inferenceParams)Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.EvaluationBedrockModel.BuildermodelIdentifier(String modelIdentifier)The ARN of the Amazon Bedrock model or inference profile specified.default EvaluationBedrockModel.BuilderperformanceConfig(Consumer<PerformanceConfiguration.Builder> performanceConfig)Specifies performance settings for the model or inference profile.EvaluationBedrockModel.BuilderperformanceConfig(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 Detail
-
modelIdentifier
EvaluationBedrockModel.Builder modelIdentifier(String 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
EvaluationBedrockModel.Builder inferenceParams(String 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
EvaluationBedrockModel.Builder performanceConfig(PerformanceConfiguration 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.Builderavoiding the need to create one manually viaPerformanceConfiguration.builder().When the
Consumercompletes,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:
performanceConfig(PerformanceConfiguration)
-
-