Interface HumanEvaluationCustomMetric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HumanEvaluationCustomMetric.Builder,HumanEvaluationCustomMetric>,SdkBuilder<HumanEvaluationCustomMetric.Builder,HumanEvaluationCustomMetric>,SdkPojo
- Enclosing class:
- HumanEvaluationCustomMetric
@Mutable @NotThreadSafe public static interface HumanEvaluationCustomMetric.Builder extends SdkPojo, CopyableBuilder<HumanEvaluationCustomMetric.Builder,HumanEvaluationCustomMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HumanEvaluationCustomMetric.Builderdescription(String description)An optional description of the metric.HumanEvaluationCustomMetric.Buildername(String name)The name of the metric.HumanEvaluationCustomMetric.BuilderratingMethod(String ratingMethod)Choose how you want your human workers to evaluation your model.-
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
-
name
HumanEvaluationCustomMetric.Builder name(String name)
The name of the metric. Your human evaluators will see this name in the evaluation UI.
- Parameters:
name- The name of the metric. Your human evaluators will see this name in the evaluation UI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
HumanEvaluationCustomMetric.Builder description(String description)
An optional description of the metric. Use this parameter to provide more details about the metric.
- Parameters:
description- An optional description of the metric. Use this parameter to provide more details about the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ratingMethod
HumanEvaluationCustomMetric.Builder ratingMethod(String ratingMethod)
Choose how you want your human workers to evaluation your model. Valid values for rating methods are
ThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice, andComparisonRank- Parameters:
ratingMethod- Choose how you want your human workers to evaluation your model. Valid values for rating methods areThumbsUpDown,IndividualLikertScale,ComparisonLikertScale,ComparisonChoice, andComparisonRank- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-