Struct aws_sdk_glue::types::builders::DataQualityRuleResultBuilder
source · #[non_exhaustive]pub struct DataQualityRuleResultBuilder { /* private fields */ }Expand description
A builder for DataQualityRuleResult.
Implementations§
source§impl DataQualityRuleResultBuilder
impl DataQualityRuleResultBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the data quality rule.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the data quality rule.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the data quality rule.
sourcepub fn evaluation_message(self, input: impl Into<String>) -> Self
pub fn evaluation_message(self, input: impl Into<String>) -> Self
An evaluation message.
sourcepub fn set_evaluation_message(self, input: Option<String>) -> Self
pub fn set_evaluation_message(self, input: Option<String>) -> Self
An evaluation message.
sourcepub fn get_evaluation_message(&self) -> &Option<String>
pub fn get_evaluation_message(&self) -> &Option<String>
An evaluation message.
sourcepub fn result(self, input: DataQualityRuleResultStatus) -> Self
pub fn result(self, input: DataQualityRuleResultStatus) -> Self
A pass or fail status for the rule.
sourcepub fn set_result(self, input: Option<DataQualityRuleResultStatus>) -> Self
pub fn set_result(self, input: Option<DataQualityRuleResultStatus>) -> Self
A pass or fail status for the rule.
sourcepub fn get_result(&self) -> &Option<DataQualityRuleResultStatus>
pub fn get_result(&self) -> &Option<DataQualityRuleResultStatus>
A pass or fail status for the rule.
sourcepub fn evaluated_metrics(self, k: impl Into<String>, v: f64) -> Self
pub fn evaluated_metrics(self, k: impl Into<String>, v: f64) -> Self
Adds a key-value pair to evaluated_metrics.
To override the contents of this collection use set_evaluated_metrics.
A map of metrics associated with the evaluation of the rule.
sourcepub fn set_evaluated_metrics(self, input: Option<HashMap<String, f64>>) -> Self
pub fn set_evaluated_metrics(self, input: Option<HashMap<String, f64>>) -> Self
A map of metrics associated with the evaluation of the rule.
sourcepub fn get_evaluated_metrics(&self) -> &Option<HashMap<String, f64>>
pub fn get_evaluated_metrics(&self) -> &Option<HashMap<String, f64>>
A map of metrics associated with the evaluation of the rule.
sourcepub fn build(self) -> DataQualityRuleResult
pub fn build(self) -> DataQualityRuleResult
Consumes the builder and constructs a DataQualityRuleResult.
Trait Implementations§
source§impl Clone for DataQualityRuleResultBuilder
impl Clone for DataQualityRuleResultBuilder
source§fn clone(&self) -> DataQualityRuleResultBuilder
fn clone(&self) -> DataQualityRuleResultBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DataQualityRuleResultBuilder
impl Debug for DataQualityRuleResultBuilder
source§impl Default for DataQualityRuleResultBuilder
impl Default for DataQualityRuleResultBuilder
source§fn default() -> DataQualityRuleResultBuilder
fn default() -> DataQualityRuleResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DataQualityRuleResultBuilder> for DataQualityRuleResultBuilder
impl PartialEq<DataQualityRuleResultBuilder> for DataQualityRuleResultBuilder
source§fn eq(&self, other: &DataQualityRuleResultBuilder) -> bool
fn eq(&self, other: &DataQualityRuleResultBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataQualityRuleResultBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DataQualityRuleResultBuilder
impl Send for DataQualityRuleResultBuilder
impl Sync for DataQualityRuleResultBuilder
impl Unpin for DataQualityRuleResultBuilder
impl UnwindSafe for DataQualityRuleResultBuilder
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
Mutably borrows from an owned value. Read more