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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EvaluationConfig.Builderautomated(Consumer<AutomatedEvaluationConfig.Builder> automated)Contains the configuration details of an automated evaluation job that computes metrics.EvaluationConfig.Builderautomated(AutomatedEvaluationConfig automated)Contains the configuration details of an automated evaluation job that computes metrics.default EvaluationConfig.Builderhuman(Consumer<HumanEvaluationConfig.Builder> human)Contains the configuration details of an evaluation job that uses human workers.EvaluationConfig.Builderhuman(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 Detail
-
automated
EvaluationConfig.Builder automated(AutomatedEvaluationConfig 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
default EvaluationConfig.Builder automated(Consumer<AutomatedEvaluationConfig.Builder> automated)
Contains the configuration details of an automated evaluation job that computes metrics.
This is a convenience method that creates an instance of theAutomatedEvaluationConfig.Builderavoiding the need to create one manually viaAutomatedEvaluationConfig.builder().When the
Consumercompletes,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:
automated(AutomatedEvaluationConfig)
-
human
EvaluationConfig.Builder human(HumanEvaluationConfig 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
default EvaluationConfig.Builder human(Consumer<HumanEvaluationConfig.Builder> human)
Contains the configuration details of an evaluation job that uses human workers.
This is a convenience method that creates an instance of theHumanEvaluationConfig.Builderavoiding the need to create one manually viaHumanEvaluationConfig.builder().When the
Consumercompletes,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:
human(HumanEvaluationConfig)
-
-