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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MetricBasedObservation.BuildermetricName(String metricName)The name of the data quality metric used for generating the observation.default MetricBasedObservation.BuildermetricValues(Consumer<DataQualityMetricValues.Builder> metricValues)An object of typeDataQualityMetricValuesrepresenting the analysis of the data quality metric value.MetricBasedObservation.BuildermetricValues(DataQualityMetricValues metricValues)An object of typeDataQualityMetricValuesrepresenting the analysis of the data quality metric value.MetricBasedObservation.BuildernewRules(String... newRules)A list of new data quality rules generated as part of the observation based on the data quality metric value.MetricBasedObservation.BuildernewRules(Collection<String> newRules)A list of new data quality rules generated as part of the observation based on the data quality metric value.MetricBasedObservation.BuilderstatisticId(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 Detail
-
metricName
MetricBasedObservation.Builder metricName(String 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
MetricBasedObservation.Builder statisticId(String 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
MetricBasedObservation.Builder metricValues(DataQualityMetricValues metricValues)
An object of type
DataQualityMetricValuesrepresenting the analysis of the data quality metric value.- Parameters:
metricValues- An object of typeDataQualityMetricValuesrepresenting 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 theDataQualityMetricValuesrepresenting the analysis of the data quality metric value.DataQualityMetricValues.Builderavoiding the need to create one manually viaDataQualityMetricValues.builder().When the
Consumercompletes,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:
metricValues(DataQualityMetricValues)
-
newRules
MetricBasedObservation.Builder newRules(Collection<String> 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
MetricBasedObservation.Builder newRules(String... 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.
-
-