Struct aws_sdk_glue::types::builders::MetricBasedObservationBuilder
source · #[non_exhaustive]pub struct MetricBasedObservationBuilder { /* private fields */ }
Expand description
A builder for MetricBasedObservation
.
Implementations§
source§impl MetricBasedObservationBuilder
impl MetricBasedObservationBuilder
sourcepub fn metric_name(self, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
The name of the data quality metric used for generating the observation.
sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
The name of the data quality metric used for generating the observation.
sourcepub fn get_metric_name(&self) -> &Option<String>
pub fn get_metric_name(&self) -> &Option<String>
The name of the data quality metric used for generating the observation.
sourcepub fn metric_values(self, input: DataQualityMetricValues) -> Self
pub fn metric_values(self, input: DataQualityMetricValues) -> Self
An object of type DataQualityMetricValues
representing the analysis of the data quality metric value.
sourcepub fn set_metric_values(self, input: Option<DataQualityMetricValues>) -> Self
pub fn set_metric_values(self, input: Option<DataQualityMetricValues>) -> Self
An object of type DataQualityMetricValues
representing the analysis of the data quality metric value.
sourcepub fn get_metric_values(&self) -> &Option<DataQualityMetricValues>
pub fn get_metric_values(&self) -> &Option<DataQualityMetricValues>
An object of type DataQualityMetricValues
representing the analysis of the data quality metric value.
sourcepub fn new_rules(self, input: impl Into<String>) -> Self
pub fn new_rules(self, input: impl Into<String>) -> Self
Appends an item to new_rules
.
To override the contents of this collection use set_new_rules
.
A list of new data quality rules generated as part of the observation based on the data quality metric value.
sourcepub fn set_new_rules(self, input: Option<Vec<String>>) -> Self
pub fn set_new_rules(self, input: Option<Vec<String>>) -> Self
A list of new data quality rules generated as part of the observation based on the data quality metric value.
sourcepub fn get_new_rules(&self) -> &Option<Vec<String>>
pub fn get_new_rules(&self) -> &Option<Vec<String>>
A list of new data quality rules generated as part of the observation based on the data quality metric value.
sourcepub fn build(self) -> MetricBasedObservation
pub fn build(self) -> MetricBasedObservation
Consumes the builder and constructs a MetricBasedObservation
.
Trait Implementations§
source§impl Clone for MetricBasedObservationBuilder
impl Clone for MetricBasedObservationBuilder
source§fn clone(&self) -> MetricBasedObservationBuilder
fn clone(&self) -> MetricBasedObservationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MetricBasedObservationBuilder
impl Default for MetricBasedObservationBuilder
source§fn default() -> MetricBasedObservationBuilder
fn default() -> MetricBasedObservationBuilder
source§impl PartialEq for MetricBasedObservationBuilder
impl PartialEq for MetricBasedObservationBuilder
source§fn eq(&self, other: &MetricBasedObservationBuilder) -> bool
fn eq(&self, other: &MetricBasedObservationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetricBasedObservationBuilder
Auto Trait Implementations§
impl Freeze for MetricBasedObservationBuilder
impl RefUnwindSafe for MetricBasedObservationBuilder
impl Send for MetricBasedObservationBuilder
impl Sync for MetricBasedObservationBuilder
impl Unpin for MetricBasedObservationBuilder
impl UnwindSafe for MetricBasedObservationBuilder
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