Interface AutomatedEvaluationCustomMetricConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedEvaluationCustomMetricConfig.Builder,AutomatedEvaluationCustomMetricConfig>,SdkBuilder<AutomatedEvaluationCustomMetricConfig.Builder,AutomatedEvaluationCustomMetricConfig>,SdkPojo
- Enclosing class:
- AutomatedEvaluationCustomMetricConfig
@Mutable @NotThreadSafe public static interface AutomatedEvaluationCustomMetricConfig.Builder extends SdkPojo, CopyableBuilder<AutomatedEvaluationCustomMetricConfig.Builder,AutomatedEvaluationCustomMetricConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutomatedEvaluationCustomMetricConfig.BuildercustomMetrics(Collection<AutomatedEvaluationCustomMetricSource> customMetrics)Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.AutomatedEvaluationCustomMetricConfig.BuildercustomMetrics(Consumer<AutomatedEvaluationCustomMetricSource.Builder>... customMetrics)Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.AutomatedEvaluationCustomMetricConfig.BuildercustomMetrics(AutomatedEvaluationCustomMetricSource... customMetrics)Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.default AutomatedEvaluationCustomMetricConfig.BuilderevaluatorModelConfig(Consumer<CustomMetricEvaluatorModelConfig.Builder> evaluatorModelConfig)Configuration of the evaluator model you want to use to evaluate custom metrics in an Amazon Bedrock evaluation job.AutomatedEvaluationCustomMetricConfig.BuilderevaluatorModelConfig(CustomMetricEvaluatorModelConfig evaluatorModelConfig)Configuration of the evaluator model you want to use to evaluate custom metrics in an Amazon Bedrock evaluation job.-
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
-
customMetrics
AutomatedEvaluationCustomMetricConfig.Builder customMetrics(Collection<AutomatedEvaluationCustomMetricSource> customMetrics)
Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.
- Parameters:
customMetrics- Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetrics
AutomatedEvaluationCustomMetricConfig.Builder customMetrics(AutomatedEvaluationCustomMetricSource... customMetrics)
Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.
- Parameters:
customMetrics- Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetrics
AutomatedEvaluationCustomMetricConfig.Builder customMetrics(Consumer<AutomatedEvaluationCustomMetricSource.Builder>... customMetrics)
Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.
This is a convenience method that creates an instance of theAutomatedEvaluationCustomMetricSource.Builderavoiding the need to create one manually viaAutomatedEvaluationCustomMetricSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customMetrics(List.) - Parameters:
customMetrics- a consumer that will call methods onAutomatedEvaluationCustomMetricSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customMetrics(java.util.Collection)
-
evaluatorModelConfig
AutomatedEvaluationCustomMetricConfig.Builder evaluatorModelConfig(CustomMetricEvaluatorModelConfig evaluatorModelConfig)
Configuration of the evaluator model you want to use to evaluate custom metrics in an Amazon Bedrock evaluation job.
- Parameters:
evaluatorModelConfig- Configuration of the evaluator model you want to use to evaluate custom metrics in an Amazon Bedrock evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorModelConfig
default AutomatedEvaluationCustomMetricConfig.Builder evaluatorModelConfig(Consumer<CustomMetricEvaluatorModelConfig.Builder> evaluatorModelConfig)
Configuration of the evaluator model you want to use to evaluate custom metrics in an Amazon Bedrock evaluation job.
This is a convenience method that creates an instance of theCustomMetricEvaluatorModelConfig.Builderavoiding the need to create one manually viaCustomMetricEvaluatorModelConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluatorModelConfig(CustomMetricEvaluatorModelConfig).- Parameters:
evaluatorModelConfig- a consumer that will call methods onCustomMetricEvaluatorModelConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
evaluatorModelConfig(CustomMetricEvaluatorModelConfig)
-
-