Interface DataQualityResult.Builder

    • Method Detail

      • 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

        DataQualityResult.Builder score​(Double 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.
      • 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

        DataQualityResult.Builder jobName​(String 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

        DataQualityResult.Builder ruleResults​(Collection<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

        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.