#[non_exhaustive]pub struct GetDataQualityResultOutputBuilder { /* private fields */ }
Expand description
A builder for GetDataQualityResultOutput
.
Implementations§
Source§impl GetDataQualityResultOutputBuilder
impl GetDataQualityResultOutputBuilder
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 profile_id(self, input: impl Into<String>) -> Self
pub fn profile_id(self, input: impl Into<String>) -> Self
The Profile ID for the data quality result.
Sourcepub fn set_profile_id(self, input: Option<String>) -> Self
pub fn set_profile_id(self, input: Option<String>) -> Self
The Profile ID for the data quality result.
Sourcepub fn get_profile_id(&self) -> &Option<String>
pub fn get_profile_id(&self) -> &Option<String>
The Profile 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 the run for this data quality result 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 the run for this data quality result started.
Sourcepub fn get_started_on(&self) -> &Option<DateTime>
pub fn get_started_on(&self) -> &Option<DateTime>
The date and time when the run for this data quality result started.
Sourcepub fn completed_on(self, input: DateTime) -> Self
pub fn completed_on(self, input: DateTime) -> Self
The date and time when the run for this data quality result was 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 the run for this data quality result was completed.
Sourcepub fn get_completed_on(&self) -> &Option<DateTime>
pub fn get_completed_on(&self) -> &Option<DateTime>
The date and time when the run for this data quality result was 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 associated with the ruleset evaluation.
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 associated with the ruleset evaluation.
Sourcepub fn get_ruleset_evaluation_run_id(&self) -> &Option<String>
pub fn get_ruleset_evaluation_run_id(&self) -> &Option<String>
The unique run ID associated with the ruleset evaluation.
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 aggregated_metrics(self, input: DataQualityAggregatedMetrics) -> Self
pub fn aggregated_metrics(self, input: DataQualityAggregatedMetrics) -> Self
A summary of DataQualityAggregatedMetrics
objects showing the total counts of processed rows and rules, including their pass/fail statistics based on row-level results.
Sourcepub fn set_aggregated_metrics(
self,
input: Option<DataQualityAggregatedMetrics>,
) -> Self
pub fn set_aggregated_metrics( self, input: Option<DataQualityAggregatedMetrics>, ) -> Self
A summary of DataQualityAggregatedMetrics
objects showing the total counts of processed rows and rules, including their pass/fail statistics based on row-level results.
Sourcepub fn get_aggregated_metrics(&self) -> &Option<DataQualityAggregatedMetrics>
pub fn get_aggregated_metrics(&self) -> &Option<DataQualityAggregatedMetrics>
A summary of DataQualityAggregatedMetrics
objects showing the total counts of processed rows and rules, including their pass/fail statistics based on row-level results.
Sourcepub fn build(self) -> GetDataQualityResultOutput
pub fn build(self) -> GetDataQualityResultOutput
Consumes the builder and constructs a GetDataQualityResultOutput
.
Trait Implementations§
Source§impl Clone for GetDataQualityResultOutputBuilder
impl Clone for GetDataQualityResultOutputBuilder
Source§fn clone(&self) -> GetDataQualityResultOutputBuilder
fn clone(&self) -> GetDataQualityResultOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GetDataQualityResultOutputBuilder
impl Default for GetDataQualityResultOutputBuilder
Source§fn default() -> GetDataQualityResultOutputBuilder
fn default() -> GetDataQualityResultOutputBuilder
Source§impl PartialEq for GetDataQualityResultOutputBuilder
impl PartialEq for GetDataQualityResultOutputBuilder
Source§fn eq(&self, other: &GetDataQualityResultOutputBuilder) -> bool
fn eq(&self, other: &GetDataQualityResultOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetDataQualityResultOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDataQualityResultOutputBuilder
impl RefUnwindSafe for GetDataQualityResultOutputBuilder
impl Send for GetDataQualityResultOutputBuilder
impl Sync for GetDataQualityResultOutputBuilder
impl Unpin for GetDataQualityResultOutputBuilder
impl UnwindSafe for GetDataQualityResultOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);