Interface HumanEvaluationConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HumanEvaluationConfig.Builder,HumanEvaluationConfig>,SdkBuilder<HumanEvaluationConfig.Builder,HumanEvaluationConfig>,SdkPojo
- Enclosing class:
- HumanEvaluationConfig
@Mutable @NotThreadSafe public static interface HumanEvaluationConfig.Builder extends SdkPojo, CopyableBuilder<HumanEvaluationConfig.Builder,HumanEvaluationConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HumanEvaluationConfig.BuildercustomMetrics(Collection<HumanEvaluationCustomMetric> customMetrics)AHumanEvaluationCustomMetricobject.HumanEvaluationConfig.BuildercustomMetrics(Consumer<HumanEvaluationCustomMetric.Builder>... customMetrics)AHumanEvaluationCustomMetricobject.HumanEvaluationConfig.BuildercustomMetrics(HumanEvaluationCustomMetric... customMetrics)AHumanEvaluationCustomMetricobject.HumanEvaluationConfig.BuilderdatasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs)Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.HumanEvaluationConfig.BuilderdatasetMetricConfigs(Consumer<EvaluationDatasetMetricConfig.Builder>... datasetMetricConfigs)Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.HumanEvaluationConfig.BuilderdatasetMetricConfigs(EvaluationDatasetMetricConfig... datasetMetricConfigs)Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.default HumanEvaluationConfig.BuilderhumanWorkflowConfig(Consumer<HumanWorkflowConfig.Builder> humanWorkflowConfig)The parameters of the human workflow.HumanEvaluationConfig.BuilderhumanWorkflowConfig(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 Detail
-
humanWorkflowConfig
HumanEvaluationConfig.Builder humanWorkflowConfig(HumanWorkflowConfig 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.Builderavoiding the need to create one manually viaHumanWorkflowConfig.builder().When the
Consumercompletes,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:
humanWorkflowConfig(HumanWorkflowConfig)
-
customMetrics
HumanEvaluationConfig.Builder customMetrics(Collection<HumanEvaluationCustomMetric> customMetrics)
A
HumanEvaluationCustomMetricobject. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Parameters:
customMetrics- AHumanEvaluationCustomMetricobject. 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(HumanEvaluationCustomMetric... customMetrics)
A
HumanEvaluationCustomMetricobject. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Parameters:
customMetrics- AHumanEvaluationCustomMetricobject. 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 theHumanEvaluationCustomMetricobject. It contains the names the metrics, how the metrics are to be evaluated, an optional description.HumanEvaluationCustomMetric.Builderavoiding the need to create one manually viaHumanEvaluationCustomMetric.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 onHumanEvaluationCustomMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customMetrics(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaEvaluationDatasetMetricConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#datasetMetricConfigs(List.) - 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:
#datasetMetricConfigs(java.util.Collection)
-
-