Interface Bias.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Bias.Builder,
,Bias> SdkBuilder<Bias.Builder,
,Bias> SdkPojo
- Enclosing class:
Bias
-
Method Summary
Modifier and TypeMethodDescriptiondefault Bias.Builder
postTrainingReport
(Consumer<MetricsSource.Builder> postTrainingReport) The post-training bias report for a model.postTrainingReport
(MetricsSource postTrainingReport) The post-training bias report for a model.default Bias.Builder
preTrainingReport
(Consumer<MetricsSource.Builder> preTrainingReport) The pre-training bias report for a model.preTrainingReport
(MetricsSource preTrainingReport) The pre-training bias report for a model.default Bias.Builder
report
(Consumer<MetricsSource.Builder> report) The bias report for a modelreport
(MetricsSource report) The bias report for a modelMethods 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
-
report
The bias report for a model
- Parameters:
report
- The bias report for a model- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
report
The bias report for a model
This is a convenience method that creates an instance of theMetricsSource.Builder
avoiding the need to create one manually viaMetricsSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreport(MetricsSource)
.- Parameters:
report
- a consumer that will call methods onMetricsSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preTrainingReport
The pre-training bias report for a model.
- Parameters:
preTrainingReport
- The pre-training bias report for a model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preTrainingReport
The pre-training bias report for a model.
This is a convenience method that creates an instance of theMetricsSource.Builder
avoiding the need to create one manually viaMetricsSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topreTrainingReport(MetricsSource)
.- Parameters:
preTrainingReport
- a consumer that will call methods onMetricsSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
postTrainingReport
The post-training bias report for a model.
- Parameters:
postTrainingReport
- The post-training bias report for a model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postTrainingReport
The post-training bias report for a model.
This is a convenience method that creates an instance of theMetricsSource.Builder
avoiding the need to create one manually viaMetricsSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topostTrainingReport(MetricsSource)
.- Parameters:
postTrainingReport
- a consumer that will call methods onMetricsSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-