Interface HumanEvaluationConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HumanEvaluationConfig.Builder,
,HumanEvaluationConfig> SdkBuilder<HumanEvaluationConfig.Builder,
,HumanEvaluationConfig> SdkPojo
- Enclosing class:
HumanEvaluationConfig
-
Method Summary
Modifier and TypeMethodDescriptioncustomMetrics
(Collection<HumanEvaluationCustomMetric> customMetrics) AHumanEvaluationCustomMetric
object.customMetrics
(Consumer<HumanEvaluationCustomMetric.Builder>... customMetrics) AHumanEvaluationCustomMetric
object.customMetrics
(HumanEvaluationCustomMetric... customMetrics) AHumanEvaluationCustomMetric
object.datasetMetricConfigs
(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.datasetMetricConfigs
(Consumer<EvaluationDatasetMetricConfig.Builder>... datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.datasetMetricConfigs
(EvaluationDatasetMetricConfig... datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.default HumanEvaluationConfig.Builder
humanWorkflowConfig
(Consumer<HumanWorkflowConfig.Builder> humanWorkflowConfig) The parameters of the human workflow.humanWorkflowConfig
(HumanWorkflowConfig humanWorkflowConfig) The parameters of the human workflow.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
-
humanWorkflowConfig
The parameters of the human workflow.
- Parameters:
humanWorkflowConfig
- The parameters of the human workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanWorkflowConfig
default HumanEvaluationConfig.Builder humanWorkflowConfig(Consumer<HumanWorkflowConfig.Builder> humanWorkflowConfig) The parameters of the human workflow.
This is a convenience method that creates an instance of theHumanWorkflowConfig.Builder
avoiding the need to create one manually viaHumanWorkflowConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohumanWorkflowConfig(HumanWorkflowConfig)
.- Parameters:
humanWorkflowConfig
- a consumer that will call methods onHumanWorkflowConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customMetrics
A
HumanEvaluationCustomMetric
object. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Parameters:
customMetrics
- AHumanEvaluationCustomMetric
object. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetrics
A
HumanEvaluationCustomMetric
object. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Parameters:
customMetrics
- AHumanEvaluationCustomMetric
object. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetrics
HumanEvaluationConfig.Builder customMetrics(Consumer<HumanEvaluationCustomMetric.Builder>... customMetrics) A
This is a convenience method that creates an instance of theHumanEvaluationCustomMetric
object. It contains the names the metrics, how the metrics are to be evaluated, an optional description.HumanEvaluationCustomMetric.Builder
avoiding the need to create one manually viaHumanEvaluationCustomMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomMetrics(List<HumanEvaluationCustomMetric>)
.- Parameters:
customMetrics
- a consumer that will call methods onHumanEvaluationCustomMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetMetricConfigs
HumanEvaluationConfig.Builder datasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.
- Parameters:
datasetMetricConfigs
- Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetMetricConfigs
HumanEvaluationConfig.Builder datasetMetricConfigs(EvaluationDatasetMetricConfig... datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.
- Parameters:
datasetMetricConfigs
- Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetMetricConfigs
HumanEvaluationConfig.Builder datasetMetricConfigs(Consumer<EvaluationDatasetMetricConfig.Builder>... datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.
This is a convenience method that creates an instance of theEvaluationDatasetMetricConfig.Builder
avoiding the need to create one manually viaEvaluationDatasetMetricConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatasetMetricConfigs(List<EvaluationDatasetMetricConfig>)
.- Parameters:
datasetMetricConfigs
- a consumer that will call methods onEvaluationDatasetMetricConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-