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

A builder for ColumnStatisticsTaskRun.

Implementations§

source§

impl ColumnStatisticsTaskRunBuilder

source

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

The Amazon Web Services account ID.

source

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

The Amazon Web Services account ID.

source

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

The Amazon Web Services account ID.

source

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

The identifier for the particular column statistics task run.

source

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

The identifier for the particular column statistics task run.

source

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

The identifier for the particular column statistics task run.

source

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

The database where the table resides.

source

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

The database where the table resides.

source

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

The database where the table resides.

source

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

The name of the table for which column statistics is generated.

source

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

The name of the table for which column statistics is generated.

source

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

The name of the table for which column statistics is generated.

source

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

Appends an item to column_name_list.

To override the contents of this collection use set_column_name_list.

A list of the column names. If none is supplied, all column names for the table will be used by default.

source

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

A list of the column names. If none is supplied, all column names for the table will be used by default.

source

pub fn get_column_name_list(&self) -> &Option<Vec<String>>

A list of the column names. If none is supplied, all column names for the table will be used by default.

source

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

The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.

source

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

The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.

source

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

The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.

source

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

The IAM role that the service assumes to generate statistics.

source

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

The IAM role that the service assumes to generate statistics.

source

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

The IAM role that the service assumes to generate statistics.

source

pub fn sample_size(self, input: f64) -> Self

The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.

source

pub fn set_sample_size(self, input: Option<f64>) -> Self

The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.

source

pub fn get_sample_size(&self) -> &Option<f64>

The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.

source

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

Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.

source

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

Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.

source

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

Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.

source

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

The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.

source

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

The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.

source

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

The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.

source

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

The type of workers being used for generating stats. The default is g.1x.

source

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

The type of workers being used for generating stats. The default is g.1x.

source

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

The type of workers being used for generating stats. The default is g.1x.

source

pub fn status(self, input: ColumnStatisticsState) -> Self

The status of the task run.

source

pub fn set_status(self, input: Option<ColumnStatisticsState>) -> Self

The status of the task run.

source

pub fn get_status(&self) -> &Option<ColumnStatisticsState>

The status of the task run.

source

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

The time that this task was created.

source

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

The time that this task was created.

source

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

The time that this task was created.

source

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

The last point in time when this task was modified.

source

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

The last point in time when this task was modified.

source

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

The last point in time when this task was modified.

source

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

The start time of the task.

source

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

The start time of the task.

source

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

The start time of the task.

source

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

The end time of the task.

source

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

The end time of the task.

source

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

The end time of the task.

source

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

The error message for the job.

source

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

The error message for the job.

source

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

The error message for the job.

source

pub fn dpu_seconds(self, input: f64) -> Self

The calculated DPU usage in seconds for all autoscaled workers.

source

pub fn set_dpu_seconds(self, input: Option<f64>) -> Self

The calculated DPU usage in seconds for all autoscaled workers.

source

pub fn get_dpu_seconds(&self) -> &Option<f64>

The calculated DPU usage in seconds for all autoscaled workers.

source

pub fn build(self) -> ColumnStatisticsTaskRun

Consumes the builder and constructs a ColumnStatisticsTaskRun.

Trait Implementations§

source§

impl Clone for ColumnStatisticsTaskRunBuilder

source§

fn clone(&self) -> ColumnStatisticsTaskRunBuilder

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for ColumnStatisticsTaskRunBuilder

source§

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

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

impl Default for ColumnStatisticsTaskRunBuilder

source§

fn default() -> ColumnStatisticsTaskRunBuilder

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

impl PartialEq for ColumnStatisticsTaskRunBuilder

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ColumnStatisticsTaskRunBuilder

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> 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

§

type Output = T

Should always be Self
source§

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

§

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>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

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