#[non_exhaustive]pub struct DataQualityConfigurationV2Builder { /* private fields */ }Expand description
A builder for DataQualityConfigurationV2.
Implementations§
Source§impl DataQualityConfigurationV2Builder
impl DataQualityConfigurationV2Builder
Sourcepub fn observations_enabled(self, input: ObservationConfiguration) -> Self
pub fn observations_enabled(self, input: ObservationConfiguration) -> Self
Whether observations are enabled for the run. Valid values are:
-
ALL -
NONE
Sourcepub fn set_observations_enabled(
self,
input: Option<ObservationConfiguration>,
) -> Self
pub fn set_observations_enabled( self, input: Option<ObservationConfiguration>, ) -> Self
Whether observations are enabled for the run. Valid values are:
-
ALL -
NONE
Sourcepub fn get_observations_enabled(&self) -> &Option<ObservationConfiguration>
pub fn get_observations_enabled(&self) -> &Option<ObservationConfiguration>
Whether observations are enabled for the run. Valid values are:
-
ALL -
NONE
Sourcepub fn observation_mode(self, input: ObservationMode) -> Self
pub fn observation_mode(self, input: ObservationMode) -> Self
The observation mode for the run. Valid values are:
-
SCHEDULED -
FIXED
Sourcepub fn set_observation_mode(self, input: Option<ObservationMode>) -> Self
pub fn set_observation_mode(self, input: Option<ObservationMode>) -> Self
The observation mode for the run. Valid values are:
-
SCHEDULED -
FIXED
Sourcepub fn get_observation_mode(&self) -> &Option<ObservationMode>
pub fn get_observation_mode(&self) -> &Option<ObservationMode>
The observation mode for the run. Valid values are:
-
SCHEDULED -
FIXED
Sourcepub fn build(self) -> DataQualityConfigurationV2
pub fn build(self) -> DataQualityConfigurationV2
Consumes the builder and constructs a DataQualityConfigurationV2.
Trait Implementations§
Source§impl Clone for DataQualityConfigurationV2Builder
impl Clone for DataQualityConfigurationV2Builder
Source§fn clone(&self) -> DataQualityConfigurationV2Builder
fn clone(&self) -> DataQualityConfigurationV2Builder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DataQualityConfigurationV2Builder
impl Default for DataQualityConfigurationV2Builder
Source§fn default() -> DataQualityConfigurationV2Builder
fn default() -> DataQualityConfigurationV2Builder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for DataQualityConfigurationV2Builder
Auto Trait Implementations§
impl Freeze for DataQualityConfigurationV2Builder
impl RefUnwindSafe for DataQualityConfigurationV2Builder
impl Send for DataQualityConfigurationV2Builder
impl Sync for DataQualityConfigurationV2Builder
impl Unpin for DataQualityConfigurationV2Builder
impl UnsafeUnpin for DataQualityConfigurationV2Builder
impl UnwindSafe for DataQualityConfigurationV2Builder
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
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> ⓘ
Converts
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> ⓘ
Converts
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 moreCreates a shared type from an unshared type.