#[non_exhaustive]pub struct DataQualityResultsV2DescriptionBuilder { /* private fields */ }Expand description
A builder for DataQualityResultsV2Description.
Implementations§
Source§impl DataQualityResultsV2DescriptionBuilder
impl DataQualityResultsV2DescriptionBuilder
Sourcepub fn result_id(self, input: impl Into<String>) -> Self
pub fn result_id(self, input: impl Into<String>) -> Self
The unique result ID for this data quality result.
Sourcepub fn set_result_id(self, input: Option<String>) -> Self
pub fn set_result_id(self, input: Option<String>) -> Self
The unique result ID for this data quality result.
Sourcepub fn get_result_id(&self) -> &Option<String>
pub fn get_result_id(&self) -> &Option<String>
The unique result ID for this data quality result.
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 result_published_on(self, input: DateTime) -> Self
pub fn result_published_on(self, input: DateTime) -> Self
The date and time when this data quality result was published.
Sourcepub fn set_result_published_on(self, input: Option<DateTime>) -> Self
pub fn set_result_published_on(self, input: Option<DateTime>) -> Self
The date and time when this data quality result was published.
Sourcepub fn get_result_published_on(&self) -> &Option<DateTime>
pub fn get_result_published_on(&self) -> &Option<DateTime>
The date and time when this data quality result was published.
Sourcepub fn dimensions(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn dimensions(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to dimensions.
To override the contents of this collection use set_dimensions.
A map of platform-specific identifiers, such as cluster, application, workgroup, or project IDs, that identify where the data quality evaluation ran.
Sourcepub fn set_dimensions(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_dimensions(self, input: Option<HashMap<String, String>>) -> Self
A map of platform-specific identifiers, such as cluster, application, workgroup, or project IDs, that identify where the data quality evaluation ran.
Sourcepub fn get_dimensions(&self) -> &Option<HashMap<String, String>>
pub fn get_dimensions(&self) -> &Option<HashMap<String, String>>
A map of platform-specific identifiers, such as cluster, application, workgroup, or project IDs, that identify where the data quality evaluation ran.
Sourcepub fn evaluation_context(self, input: impl Into<String>) -> Self
pub fn evaluation_context(self, input: impl Into<String>) -> Self
The evaluation context for the data quality result. This value identifies a specific data quality result, or a series of related results, within a run.
Sourcepub fn set_evaluation_context(self, input: Option<String>) -> Self
pub fn set_evaluation_context(self, input: Option<String>) -> Self
The evaluation context for the data quality result. This value identifies a specific data quality result, or a series of related results, within a run.
Sourcepub fn get_evaluation_context(&self) -> &Option<String>
pub fn get_evaluation_context(&self) -> &Option<String>
The evaluation context for the data quality result. This value identifies a specific data quality result, or a series of related results, within a run.
Sourcepub fn descriptors(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn descriptors(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to descriptors.
To override the contents of this collection use set_descriptors.
A map of user-provided descriptors that add contextual metadata and configuration to the data quality result, such as database name, table name, team, or environment.
Sourcepub fn set_descriptors(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_descriptors(self, input: Option<HashMap<String, String>>) -> Self
A map of user-provided descriptors that add contextual metadata and configuration to the data quality result, such as database name, table name, team, or environment.
Sourcepub fn get_descriptors(&self) -> &Option<HashMap<String, String>>
pub fn get_descriptors(&self) -> &Option<HashMap<String, String>>
A map of user-provided descriptors that add contextual metadata and configuration to the data quality result, such as database name, table name, team, or environment.
Sourcepub fn build(self) -> DataQualityResultsV2Description
pub fn build(self) -> DataQualityResultsV2Description
Consumes the builder and constructs a DataQualityResultsV2Description.
Trait Implementations§
Source§impl Clone for DataQualityResultsV2DescriptionBuilder
impl Clone for DataQualityResultsV2DescriptionBuilder
Source§fn clone(&self) -> DataQualityResultsV2DescriptionBuilder
fn clone(&self) -> DataQualityResultsV2DescriptionBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for DataQualityResultsV2DescriptionBuilder
impl Default for DataQualityResultsV2DescriptionBuilder
Source§fn default() -> DataQualityResultsV2DescriptionBuilder
fn default() -> DataQualityResultsV2DescriptionBuilder
impl StructuralPartialEq for DataQualityResultsV2DescriptionBuilder
Auto Trait Implementations§
impl Freeze for DataQualityResultsV2DescriptionBuilder
impl RefUnwindSafe for DataQualityResultsV2DescriptionBuilder
impl Send for DataQualityResultsV2DescriptionBuilder
impl Sync for DataQualityResultsV2DescriptionBuilder
impl Unpin for DataQualityResultsV2DescriptionBuilder
impl UnsafeUnpin for DataQualityResultsV2DescriptionBuilder
impl UnwindSafe for DataQualityResultsV2DescriptionBuilder
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 more