Interface MetricBasedObservation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricBasedObservation.Builder,
,MetricBasedObservation> SdkBuilder<MetricBasedObservation.Builder,
,MetricBasedObservation> SdkPojo
- Enclosing class:
MetricBasedObservation
public static interface MetricBasedObservation.Builder
extends SdkPojo, CopyableBuilder<MetricBasedObservation.Builder,MetricBasedObservation>
-
Method Summary
Modifier and TypeMethodDescriptionmetricName
(String metricName) The name of the data quality metric used for generating the observation.default MetricBasedObservation.Builder
metricValues
(Consumer<DataQualityMetricValues.Builder> metricValues) An object of typeDataQualityMetricValues
representing the analysis of the data quality metric value.metricValues
(DataQualityMetricValues metricValues) An object of typeDataQualityMetricValues
representing the analysis of the data quality metric value.A list of new data quality rules generated as part of the observation based on the data quality metric value.newRules
(Collection<String> newRules) A list of new data quality rules generated as part of the observation based on the data quality metric value.statisticId
(String statisticId) The Statistic ID.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
-
metricName
The name of the data quality metric used for generating the observation.
- Parameters:
metricName
- The name of the data quality metric used for generating the observation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticId
The Statistic ID.
- Parameters:
statisticId
- The Statistic ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricValues
An object of type
DataQualityMetricValues
representing the analysis of the data quality metric value.- Parameters:
metricValues
- An object of typeDataQualityMetricValues
representing the analysis of the data quality metric value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricValues
default MetricBasedObservation.Builder metricValues(Consumer<DataQualityMetricValues.Builder> metricValues) An object of type
This is a convenience method that creates an instance of theDataQualityMetricValues
representing the analysis of the data quality metric value.DataQualityMetricValues.Builder
avoiding the need to create one manually viaDataQualityMetricValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricValues(DataQualityMetricValues)
.- Parameters:
metricValues
- a consumer that will call methods onDataQualityMetricValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
newRules
A list of new data quality rules generated as part of the observation based on the data quality metric value.
- Parameters:
newRules
- A list of new data quality rules generated as part of the observation based on the data quality metric value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newRules
A list of new data quality rules generated as part of the observation based on the data quality metric value.
- Parameters:
newRules
- A list of new data quality rules generated as part of the observation based on the data quality metric value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-