Skip to main content

UpdateDataQualityEvaluationConfigInputBuilder

Struct UpdateDataQualityEvaluationConfigInputBuilder 

Source
#[non_exhaustive]
pub struct UpdateDataQualityEvaluationConfigInputBuilder { /* private fields */ }
Expand description

Implementations§

Source§

impl UpdateDataQualityEvaluationConfigInputBuilder

Source

pub fn name(self, input: impl Into<String>) -> Self

The name of the data quality evaluation configuration to update.

This field is required.
Source

pub fn set_name(self, input: Option<String>) -> Self

The name of the data quality evaluation configuration to update.

Source

pub fn get_name(&self) -> &Option<String>

The name of the data quality evaluation configuration to update.

Source

pub fn data_source(self, input: DataQualityEvaluationConfigDataSource) -> Self

The database or table that the configuration applies to. Replaces the current data source.

Source

pub fn set_data_source( self, input: Option<DataQualityEvaluationConfigDataSource>, ) -> Self

The database or table that the configuration applies to. Replaces the current data source.

Source

pub fn get_data_source(&self) -> &Option<DataQualityEvaluationConfigDataSource>

The database or table that the configuration applies to. Replaces the current data source.

Source

pub fn ruleset_name(self, input: impl Into<String>) -> Self

The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using the CreateDataQualityRuleset API. Specify either RulesetName or ManagedRulesetName, not both.

Source

pub fn set_ruleset_name(self, input: Option<String>) -> Self

The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using the CreateDataQualityRuleset API. Specify either RulesetName or ManagedRulesetName, not both.

Source

pub fn get_ruleset_name(&self) -> &Option<String>

The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using the CreateDataQualityRuleset API. Specify either RulesetName or ManagedRulesetName, not both.

Source

pub fn managed_ruleset_name( self, input: DataQualityEvaluationConfigManagedRuleset, ) -> Self

A built-in ruleset, SIMPLE or ADVANCED, that profiles each table.

Source

pub fn set_managed_ruleset_name( self, input: Option<DataQualityEvaluationConfigManagedRuleset>, ) -> Self

A built-in ruleset, SIMPLE or ADVANCED, that profiles each table.

Source

pub fn get_managed_ruleset_name( &self, ) -> &Option<DataQualityEvaluationConfigManagedRuleset>

A built-in ruleset, SIMPLE or ADVANCED, that profiles each table.

Source

pub fn triggers(self, input: DataQualityEvaluationConfigTrigger) -> Self

Appends an item to triggers.

To override the contents of this collection use set_triggers.

When the configuration evaluates tables. Replaces the current triggers. Choose from the following triggers:

ONCE

Evaluates each table one time, including when tables are added to a database or catalog.

SCHEDULE

Evaluates each table on the cron or rate expression in ScheduleExpression, between the optional StartAt and EndAt times.

METADATA_CHANGE

Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.

Source

pub fn set_triggers( self, input: Option<Vec<DataQualityEvaluationConfigTrigger>>, ) -> Self

When the configuration evaluates tables. Replaces the current triggers. Choose from the following triggers:

ONCE

Evaluates each table one time, including when tables are added to a database or catalog.

SCHEDULE

Evaluates each table on the cron or rate expression in ScheduleExpression, between the optional StartAt and EndAt times.

METADATA_CHANGE

Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.

Source

pub fn get_triggers(&self) -> &Option<Vec<DataQualityEvaluationConfigTrigger>>

When the configuration evaluates tables. Replaces the current triggers. Choose from the following triggers:

ONCE

Evaluates each table one time, including when tables are added to a database or catalog.

SCHEDULE

Evaluates each table on the cron or rate expression in ScheduleExpression, between the optional StartAt and EndAt times.

METADATA_CHANGE

Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.

Source

pub fn schedule_expression(self, input: impl Into<String>) -> Self

A cron or rate expression, in UTC, for the SCHEDULE trigger, for example cron(0 6 * * ? *). The schedule can run at most once an hour.

Source

pub fn set_schedule_expression(self, input: Option<String>) -> Self

A cron or rate expression, in UTC, for the SCHEDULE trigger, for example cron(0 6 * * ? *). The schedule can run at most once an hour.

Source

pub fn get_schedule_expression(&self) -> &Option<String>

A cron or rate expression, in UTC, for the SCHEDULE trigger, for example cron(0 6 * * ? *). The schedule can run at most once an hour.

Source

pub fn start_at(self, input: DateTime) -> Self

The time from which the schedule runs, inclusive.

Source

pub fn set_start_at(self, input: Option<DateTime>) -> Self

The time from which the schedule runs, inclusive.

Source

pub fn get_start_at(&self) -> &Option<DateTime>

The time from which the schedule runs, inclusive.

Source

pub fn end_at(self, input: DateTime) -> Self

The time at which the schedule stops running, exclusive.

Source

pub fn set_end_at(self, input: Option<DateTime>) -> Self

The time at which the schedule stops running, exclusive.

Source

pub fn get_end_at(&self) -> &Option<DateTime>

The time at which the schedule stops running, exclusive.

Source

pub fn pause_runs(self, input: bool) -> Self

Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.

Source

pub fn set_pause_runs(self, input: Option<bool>) -> Self

Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.

Source

pub fn get_pause_runs(&self) -> &Option<bool>

Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.

Source

pub fn role(self, input: impl Into<String>) -> Self

The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role needs the trust policy and permissions described for CreateDataQualityEvaluationConfig.

Source

pub fn set_role(self, input: Option<String>) -> Self

The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role needs the trust policy and permissions described for CreateDataQualityEvaluationConfig.

Source

pub fn get_role(&self) -> &Option<String>

The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role needs the trust policy and permissions described for CreateDataQualityEvaluationConfig.

Source

pub fn number_of_workers(self, input: i32) -> Self

The number of G.1X workers to be used in the run. The default is 5.

Source

pub fn set_number_of_workers(self, input: Option<i32>) -> Self

The number of G.1X workers to be used in the run. The default is 5.

Source

pub fn get_number_of_workers(&self) -> &Option<i32>

The number of G.1X workers to be used in the run. The default is 5.

Source

pub fn timeout(self, input: i32) -> Self

The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

Source

pub fn set_timeout(self, input: Option<i32>) -> Self

The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

Source

pub fn get_timeout(&self) -> &Option<i32>

The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

Source

pub fn additional_run_options( self, input: DataQualityEvaluationConfigAdditionalRunOptions, ) -> Self

Additional run options you can specify for an evaluation run.

Source

pub fn set_additional_run_options( self, input: Option<DataQualityEvaluationConfigAdditionalRunOptions>, ) -> Self

Additional run options you can specify for an evaluation run.

Source

pub fn get_additional_run_options( &self, ) -> &Option<DataQualityEvaluationConfigAdditionalRunOptions>

Additional run options you can specify for an evaluation run.

Source

pub fn additional_data_sources( self, k: impl Into<String>, v: DataSource, ) -> Self

Adds a key-value pair to additional_data_sources.

To override the contents of this collection use set_additional_data_sources.

A map of reference strings to additional data sources you can specify for an evaluation run.

Source

pub fn set_additional_data_sources( self, input: Option<HashMap<String, DataSource>>, ) -> Self

A map of reference strings to additional data sources you can specify for an evaluation run.

Source

pub fn get_additional_data_sources( &self, ) -> &Option<HashMap<String, DataSource>>

A map of reference strings to additional data sources you can specify for an evaluation run.

Source

pub fn build(self) -> Result<UpdateDataQualityEvaluationConfigInput, BuildError>

Consumes the builder and constructs a UpdateDataQualityEvaluationConfigInput.

Source§

impl UpdateDataQualityEvaluationConfigInputBuilder

Source

pub async fn send_with( self, client: &Client, ) -> Result<UpdateDataQualityEvaluationConfigOutput, SdkError<UpdateDataQualityEvaluationConfigError, HttpResponse>>

Sends a request with this input using the given client.

Trait Implementations§

Source§

impl Clone for UpdateDataQualityEvaluationConfigInputBuilder

Source§

fn clone(&self) -> UpdateDataQualityEvaluationConfigInputBuilder

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UpdateDataQualityEvaluationConfigInputBuilder

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for UpdateDataQualityEvaluationConfigInputBuilder

Source§

fn default() -> UpdateDataQualityEvaluationConfigInputBuilder

Returns the “default value” for a type. Read more
Source§

impl PartialEq for UpdateDataQualityEvaluationConfigInputBuilder

Source§

fn eq(&self, other: &UpdateDataQualityEvaluationConfigInputBuilder) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for UpdateDataQualityEvaluationConfigInputBuilder

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

Source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more