Interface DataQualityResult.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DataQualityResult.Builder,DataQualityResult>, SdkBuilder<DataQualityResult.Builder,DataQualityResult>, SdkPojo
Enclosing class:
DataQualityResult

public static interface DataQualityResult.Builder extends SdkPojo, CopyableBuilder<DataQualityResult.Builder,DataQualityResult>
  • Method Details

    • resultId

      DataQualityResult.Builder resultId(String resultId)

      A unique result ID for the data quality result.

      Parameters:
      resultId - A unique result ID for the data quality result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • score

      An aggregate data quality score. Represents the ratio of rules that passed to the total number of rules.

      Parameters:
      score - An aggregate data quality score. Represents the ratio of rules that passed to the total number of rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSource

      DataQualityResult.Builder dataSource(DataSource dataSource)

      The table associated with the data quality result, if any.

      Parameters:
      dataSource - The table associated with the data quality result, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSource

      default DataQualityResult.Builder dataSource(Consumer<DataSource.Builder> dataSource)

      The table associated with the data quality result, if any.

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

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

      Parameters:
      dataSource - a consumer that will call methods on DataSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rulesetName

      DataQualityResult.Builder rulesetName(String rulesetName)

      The name of the ruleset associated with the data quality result.

      Parameters:
      rulesetName - The name of the ruleset associated with the data quality result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationContext

      DataQualityResult.Builder evaluationContext(String evaluationContext)

      In the context of a job in Glue Studio, each node in the canvas is typically assigned some sort of name and data quality nodes will have names. In the case of multiple nodes, the evaluationContext can differentiate the nodes.

      Parameters:
      evaluationContext - In the context of a job in Glue Studio, each node in the canvas is typically assigned some sort of name and data quality nodes will have names. In the case of multiple nodes, the evaluationContext can differentiate the nodes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedOn

      DataQualityResult.Builder startedOn(Instant startedOn)

      The date and time when this data quality run started.

      Parameters:
      startedOn - The date and time when this data quality run started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedOn

      DataQualityResult.Builder completedOn(Instant completedOn)

      The date and time when this data quality run completed.

      Parameters:
      completedOn - The date and time when this data quality run completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobName

      The job name associated with the data quality result, if any.

      Parameters:
      jobName - The job name associated with the data quality result, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobRunId

      DataQualityResult.Builder jobRunId(String jobRunId)

      The job run ID associated with the data quality result, if any.

      Parameters:
      jobRunId - The job run ID associated with the data quality result, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rulesetEvaluationRunId

      DataQualityResult.Builder rulesetEvaluationRunId(String rulesetEvaluationRunId)

      The unique run ID for the ruleset evaluation for this data quality result.

      Parameters:
      rulesetEvaluationRunId - The unique run ID for the ruleset evaluation for this data quality result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleResults

      A list of DataQualityRuleResult objects representing the results for each rule.

      Parameters:
      ruleResults - A list of DataQualityRuleResult objects representing the results for each rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleResults

      DataQualityResult.Builder ruleResults(DataQualityRuleResult... ruleResults)

      A list of DataQualityRuleResult objects representing the results for each rule.

      Parameters:
      ruleResults - A list of DataQualityRuleResult objects representing the results for each rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleResults

      A list of DataQualityRuleResult objects representing the results for each rule.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ruleResults(List<DataQualityRuleResult>).

      Parameters:
      ruleResults - a consumer that will call methods on DataQualityRuleResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: