Interface EvaluationConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EvaluationConfig.Builder,
,EvaluationConfig> SdkBuilder<EvaluationConfig.Builder,
,EvaluationConfig> SdkPojo
- Enclosing class:
EvaluationConfig
@Mutable
@NotThreadSafe
public static interface EvaluationConfig.Builder
extends SdkPojo, CopyableBuilder<EvaluationConfig.Builder,EvaluationConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EvaluationConfig.Builder
automated
(Consumer<AutomatedEvaluationConfig.Builder> automated) Contains the configuration details of an automated evaluation job that computes metrics.automated
(AutomatedEvaluationConfig automated) Contains the configuration details of an automated evaluation job that computes metrics.default EvaluationConfig.Builder
Contains the configuration details of an evaluation job that uses human workers.human
(HumanEvaluationConfig human) Contains the configuration details of an evaluation job that uses human workers.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
-
automated
Contains the configuration details of an automated evaluation job that computes metrics.
- Parameters:
automated
- Contains the configuration details of an automated evaluation job that computes metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automated
Contains the configuration details of an automated evaluation job that computes metrics.
This is a convenience method that creates an instance of theAutomatedEvaluationConfig.Builder
avoiding the need to create one manually viaAutomatedEvaluationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautomated(AutomatedEvaluationConfig)
.- Parameters:
automated
- a consumer that will call methods onAutomatedEvaluationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
human
Contains the configuration details of an evaluation job that uses human workers.
- Parameters:
human
- Contains the configuration details of an evaluation job that uses human workers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
human
Contains the configuration details of an evaluation job that uses human workers.
This is a convenience method that creates an instance of theHumanEvaluationConfig.Builder
avoiding the need to create one manually viaHumanEvaluationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohuman(HumanEvaluationConfig)
.- Parameters:
human
- a consumer that will call methods onHumanEvaluationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-