Struct aws_sdk_glue::types::builders::DataQualityResultBuilder
source · #[non_exhaustive]pub struct DataQualityResultBuilder { /* private fields */ }
Expand description
A builder for DataQualityResult
.
Implementations§
source§impl DataQualityResultBuilder
impl DataQualityResultBuilder
sourcepub fn result_id(self, input: impl Into<String>) -> Self
pub fn result_id(self, input: impl Into<String>) -> Self
A unique result ID for the data quality result.
sourcepub fn set_result_id(self, input: Option<String>) -> Self
pub fn set_result_id(self, input: Option<String>) -> Self
A unique result ID for the data quality result.
sourcepub fn get_result_id(&self) -> &Option<String>
pub fn get_result_id(&self) -> &Option<String>
A unique result ID for the data quality result.
sourcepub fn score(self, input: f64) -> Self
pub fn score(self, input: f64) -> Self
An aggregate data quality score. Represents the ratio of rules that passed to the total number of rules.
sourcepub fn set_score(self, input: Option<f64>) -> Self
pub fn set_score(self, input: Option<f64>) -> Self
An aggregate data quality score. Represents the ratio of rules that passed to the total number of rules.
sourcepub fn get_score(&self) -> &Option<f64>
pub fn get_score(&self) -> &Option<f64>
An aggregate data quality score. Represents the ratio of rules that passed to the total number of rules.
sourcepub fn data_source(self, input: DataSource) -> Self
pub fn data_source(self, input: DataSource) -> Self
The table associated with the data quality result, if any.
sourcepub fn set_data_source(self, input: Option<DataSource>) -> Self
pub fn set_data_source(self, input: Option<DataSource>) -> Self
The table associated with the data quality result, if any.
sourcepub fn get_data_source(&self) -> &Option<DataSource>
pub fn get_data_source(&self) -> &Option<DataSource>
The table associated with the data quality result, if any.
sourcepub fn ruleset_name(self, input: impl Into<String>) -> Self
pub fn ruleset_name(self, input: impl Into<String>) -> Self
The name of the ruleset associated with the data quality result.
sourcepub fn set_ruleset_name(self, input: Option<String>) -> Self
pub fn set_ruleset_name(self, input: Option<String>) -> Self
The name of the ruleset associated with the data quality result.
sourcepub fn get_ruleset_name(&self) -> &Option<String>
pub fn get_ruleset_name(&self) -> &Option<String>
The name of the ruleset associated with the data quality result.
sourcepub fn evaluation_context(self, input: impl Into<String>) -> Self
pub fn evaluation_context(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_evaluation_context(self, input: Option<String>) -> Self
pub fn set_evaluation_context(self, input: Option<String>) -> Self
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.
sourcepub fn get_evaluation_context(&self) -> &Option<String>
pub fn get_evaluation_context(&self) -> &Option<String>
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.
sourcepub fn started_on(self, input: DateTime) -> Self
pub fn started_on(self, input: DateTime) -> Self
The date and time when this data quality run started.
sourcepub fn set_started_on(self, input: Option<DateTime>) -> Self
pub fn set_started_on(self, input: Option<DateTime>) -> Self
The date and time when this data quality run started.
sourcepub fn get_started_on(&self) -> &Option<DateTime>
pub fn get_started_on(&self) -> &Option<DateTime>
The date and time when this data quality run started.
sourcepub fn completed_on(self, input: DateTime) -> Self
pub fn completed_on(self, input: DateTime) -> Self
The date and time when this data quality run completed.
sourcepub fn set_completed_on(self, input: Option<DateTime>) -> Self
pub fn set_completed_on(self, input: Option<DateTime>) -> Self
The date and time when this data quality run completed.
sourcepub fn get_completed_on(&self) -> &Option<DateTime>
pub fn get_completed_on(&self) -> &Option<DateTime>
The date and time when this data quality run completed.
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The job name associated with the data quality result, if any.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The job name associated with the data quality result, if any.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The job name associated with the data quality result, if any.
sourcepub fn job_run_id(self, input: impl Into<String>) -> Self
pub fn job_run_id(self, input: impl Into<String>) -> Self
The job run ID associated with the data quality result, if any.
sourcepub fn set_job_run_id(self, input: Option<String>) -> Self
pub fn set_job_run_id(self, input: Option<String>) -> Self
The job run ID associated with the data quality result, if any.
sourcepub fn get_job_run_id(&self) -> &Option<String>
pub fn get_job_run_id(&self) -> &Option<String>
The job run ID associated with the data quality result, if any.
sourcepub fn ruleset_evaluation_run_id(self, input: impl Into<String>) -> Self
pub fn ruleset_evaluation_run_id(self, input: impl Into<String>) -> Self
The unique run ID for the ruleset evaluation for this data quality result.
sourcepub fn set_ruleset_evaluation_run_id(self, input: Option<String>) -> Self
pub fn set_ruleset_evaluation_run_id(self, input: Option<String>) -> Self
The unique run ID for the ruleset evaluation for this data quality result.
sourcepub fn get_ruleset_evaluation_run_id(&self) -> &Option<String>
pub fn get_ruleset_evaluation_run_id(&self) -> &Option<String>
The unique run ID for the ruleset evaluation for this data quality result.
sourcepub fn rule_results(self, input: DataQualityRuleResult) -> Self
pub fn rule_results(self, input: DataQualityRuleResult) -> Self
Appends an item to rule_results
.
To override the contents of this collection use set_rule_results
.
A list of DataQualityRuleResult
objects representing the results for each rule.
sourcepub fn set_rule_results(self, input: Option<Vec<DataQualityRuleResult>>) -> Self
pub fn set_rule_results(self, input: Option<Vec<DataQualityRuleResult>>) -> Self
A list of DataQualityRuleResult
objects representing the results for each rule.
sourcepub fn get_rule_results(&self) -> &Option<Vec<DataQualityRuleResult>>
pub fn get_rule_results(&self) -> &Option<Vec<DataQualityRuleResult>>
A list of DataQualityRuleResult
objects representing the results for each rule.
sourcepub fn analyzer_results(self, input: DataQualityAnalyzerResult) -> Self
pub fn analyzer_results(self, input: DataQualityAnalyzerResult) -> Self
Appends an item to analyzer_results
.
To override the contents of this collection use set_analyzer_results
.
A list of DataQualityAnalyzerResult
objects representing the results for each analyzer.
sourcepub fn set_analyzer_results(
self,
input: Option<Vec<DataQualityAnalyzerResult>>,
) -> Self
pub fn set_analyzer_results( self, input: Option<Vec<DataQualityAnalyzerResult>>, ) -> Self
A list of DataQualityAnalyzerResult
objects representing the results for each analyzer.
sourcepub fn get_analyzer_results(&self) -> &Option<Vec<DataQualityAnalyzerResult>>
pub fn get_analyzer_results(&self) -> &Option<Vec<DataQualityAnalyzerResult>>
A list of DataQualityAnalyzerResult
objects representing the results for each analyzer.
sourcepub fn observations(self, input: DataQualityObservation) -> Self
pub fn observations(self, input: DataQualityObservation) -> Self
Appends an item to observations
.
To override the contents of this collection use set_observations
.
A list of DataQualityObservation
objects representing the observations generated after evaluating the rules and analyzers.
sourcepub fn set_observations(
self,
input: Option<Vec<DataQualityObservation>>,
) -> Self
pub fn set_observations( self, input: Option<Vec<DataQualityObservation>>, ) -> Self
A list of DataQualityObservation
objects representing the observations generated after evaluating the rules and analyzers.
sourcepub fn get_observations(&self) -> &Option<Vec<DataQualityObservation>>
pub fn get_observations(&self) -> &Option<Vec<DataQualityObservation>>
A list of DataQualityObservation
objects representing the observations generated after evaluating the rules and analyzers.
sourcepub fn build(self) -> DataQualityResult
pub fn build(self) -> DataQualityResult
Consumes the builder and constructs a DataQualityResult
.
Trait Implementations§
source§impl Clone for DataQualityResultBuilder
impl Clone for DataQualityResultBuilder
source§fn clone(&self) -> DataQualityResultBuilder
fn clone(&self) -> DataQualityResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataQualityResultBuilder
impl Debug for DataQualityResultBuilder
source§impl Default for DataQualityResultBuilder
impl Default for DataQualityResultBuilder
source§fn default() -> DataQualityResultBuilder
fn default() -> DataQualityResultBuilder
source§impl PartialEq for DataQualityResultBuilder
impl PartialEq for DataQualityResultBuilder
source§fn eq(&self, other: &DataQualityResultBuilder) -> bool
fn eq(&self, other: &DataQualityResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataQualityResultBuilder
Auto Trait Implementations§
impl Freeze for DataQualityResultBuilder
impl RefUnwindSafe for DataQualityResultBuilder
impl Send for DataQualityResultBuilder
impl Sync for DataQualityResultBuilder
impl Unpin for DataQualityResultBuilder
impl UnwindSafe for DataQualityResultBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more