Interface AutomatedEvaluationCustomMetricConfig.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AutomatedEvaluationCustomMetricConfig.Builder,,- AutomatedEvaluationCustomMetricConfig> - SdkBuilder<AutomatedEvaluationCustomMetricConfig.Builder,,- AutomatedEvaluationCustomMetricConfig> - SdkPojo
- Enclosing class:
- AutomatedEvaluationCustomMetricConfig
- 
Method SummaryModifier and TypeMethodDescriptioncustomMetrics(Collection<AutomatedEvaluationCustomMetricSource> customMetrics) Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.customMetrics(Consumer<AutomatedEvaluationCustomMetricSource.Builder>... customMetrics) Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.customMetrics(AutomatedEvaluationCustomMetricSource... customMetrics) Defines a list of custom metrics to be used in an Amazon Bedrock evaluation job.evaluatorModelConfig(Consumer<CustomMetricEvaluatorModelConfig.Builder> evaluatorModelConfig) Configuration of the evaluator model you want to use to evaluate custom metrics in an Amazon Bedrock evaluation job.evaluatorModelConfig(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
customMetricsAutomatedEvaluationCustomMetricConfig.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.
 
- 
customMetricsAutomatedEvaluationCustomMetricConfig.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.
 
- 
customMetricsAutomatedEvaluationCustomMetricConfig.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 tocustomMetrics(List<AutomatedEvaluationCustomMetricSource>).- Parameters:
- customMetrics- a consumer that will call methods on- AutomatedEvaluationCustomMetricSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
evaluatorModelConfigAutomatedEvaluationCustomMetricConfig.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.
 
- 
evaluatorModelConfigdefault 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 on- CustomMetricEvaluatorModelConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-