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 Details

    • 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

      An object of type DataQualityMetricValues representing the analysis of the data quality metric value.

      Parameters:
      metricValues - An object of type DataQualityMetricValues 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

      An object of type DataQualityMetricValues representing the analysis of the data quality metric value.

      This is a convenience method that creates an instance of the DataQualityMetricValues.Builder avoiding the need to create one manually via DataQualityMetricValues.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metricValues(DataQualityMetricValues).

      Parameters:
      metricValues - a consumer that will call methods on DataQualityMetricValues.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

      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.