Interface PredictorBaseline.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PredictorBaseline.Builder,
,PredictorBaseline> SdkBuilder<PredictorBaseline.Builder,
,PredictorBaseline> SdkPojo
- Enclosing class:
PredictorBaseline
public static interface PredictorBaseline.Builder
extends SdkPojo, CopyableBuilder<PredictorBaseline.Builder,PredictorBaseline>
-
Method Summary
Modifier and TypeMethodDescriptionbaselineMetrics
(Collection<BaselineMetric> baselineMetrics) The initial accuracy metrics for the predictor.baselineMetrics
(Consumer<BaselineMetric.Builder>... baselineMetrics) The initial accuracy metrics for the predictor.baselineMetrics
(BaselineMetric... baselineMetrics) The initial accuracy metrics for the predictor.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, sdkFields
-
Method Details
-
baselineMetrics
The initial accuracy metrics for the predictor. Use these metrics as a baseline for comparison purposes as you use your predictor and the metrics change.
- Parameters:
baselineMetrics
- The initial accuracy metrics for the predictor. Use these metrics as a baseline for comparison purposes as you use your predictor and the metrics change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineMetrics
The initial accuracy metrics for the predictor. Use these metrics as a baseline for comparison purposes as you use your predictor and the metrics change.
- Parameters:
baselineMetrics
- The initial accuracy metrics for the predictor. Use these metrics as a baseline for comparison purposes as you use your predictor and the metrics change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineMetrics
The initial accuracy metrics for the predictor. Use these metrics as a baseline for comparison purposes as you use your predictor and the metrics change.
This is a convenience method that creates an instance of theBaselineMetric.Builder
avoiding the need to create one manually viaBaselineMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobaselineMetrics(List<BaselineMetric>)
.- Parameters:
baselineMetrics
- a consumer that will call methods onBaselineMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-