Interface AdapterVersionEvaluationMetric.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdapterVersionEvaluationMetric.Builder,,AdapterVersionEvaluationMetric> SdkBuilder<AdapterVersionEvaluationMetric.Builder,,AdapterVersionEvaluationMetric> SdkPojo
- Enclosing class:
AdapterVersionEvaluationMetric
public static interface AdapterVersionEvaluationMetric.Builder
extends SdkPojo, CopyableBuilder<AdapterVersionEvaluationMetric.Builder,AdapterVersionEvaluationMetric>
-
Method Summary
Modifier and TypeMethodDescriptionadapterVersion(Consumer<EvaluationMetric.Builder> adapterVersion) The F1 score, precision, and recall metrics for the baseline model.adapterVersion(EvaluationMetric adapterVersion) The F1 score, precision, and recall metrics for the baseline model.baseline(Consumer<EvaluationMetric.Builder> baseline) The F1 score, precision, and recall metrics for the baseline model.baseline(EvaluationMetric baseline) The F1 score, precision, and recall metrics for the baseline model.featureType(String featureType) Indicates the feature type being analyzed by a given adapter version.featureType(FeatureType featureType) Indicates the feature type being analyzed by a given adapter version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
baseline
The F1 score, precision, and recall metrics for the baseline model.
- Parameters:
baseline- The F1 score, precision, and recall metrics for the baseline model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseline
default AdapterVersionEvaluationMetric.Builder baseline(Consumer<EvaluationMetric.Builder> baseline) The F1 score, precision, and recall metrics for the baseline model.
This is a convenience method that creates an instance of theEvaluationMetric.Builderavoiding the need to create one manually viaEvaluationMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobaseline(EvaluationMetric).- Parameters:
baseline- a consumer that will call methods onEvaluationMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
adapterVersion
The F1 score, precision, and recall metrics for the baseline model.
- Parameters:
adapterVersion- The F1 score, precision, and recall metrics for the baseline model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adapterVersion
default AdapterVersionEvaluationMetric.Builder adapterVersion(Consumer<EvaluationMetric.Builder> adapterVersion) The F1 score, precision, and recall metrics for the baseline model.
This is a convenience method that creates an instance of theEvaluationMetric.Builderavoiding the need to create one manually viaEvaluationMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadapterVersion(EvaluationMetric).- Parameters:
adapterVersion- a consumer that will call methods onEvaluationMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
featureType
Indicates the feature type being analyzed by a given adapter version.
- Parameters:
featureType- Indicates the feature type being analyzed by a given adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
featureType
Indicates the feature type being analyzed by a given adapter version.
- Parameters:
featureType- Indicates the feature type being analyzed by a given adapter version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-