#[non_exhaustive]pub struct ColumnStatisticsTaskRunBuilder { /* private fields */ }
Expand description
A builder for ColumnStatisticsTaskRun
.
Implementations§
source§impl ColumnStatisticsTaskRunBuilder
impl ColumnStatisticsTaskRunBuilder
sourcepub fn customer_id(self, input: impl Into<String>) -> Self
pub fn customer_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn set_customer_id(self, input: Option<String>) -> Self
pub fn set_customer_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn get_customer_id(&self) -> &Option<String>
pub fn get_customer_id(&self) -> &Option<String>
The Amazon Web Services account ID.
sourcepub fn column_statistics_task_run_id(self, input: impl Into<String>) -> Self
pub fn column_statistics_task_run_id(self, input: impl Into<String>) -> Self
The identifier for the particular column statistics task run.
sourcepub fn set_column_statistics_task_run_id(self, input: Option<String>) -> Self
pub fn set_column_statistics_task_run_id(self, input: Option<String>) -> Self
The identifier for the particular column statistics task run.
sourcepub fn get_column_statistics_task_run_id(&self) -> &Option<String>
pub fn get_column_statistics_task_run_id(&self) -> &Option<String>
The identifier for the particular column statistics task run.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The database where the table resides.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The database where the table resides.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The database where the table resides.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table for which column statistics is generated.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table for which column statistics is generated.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table for which column statistics is generated.
sourcepub fn column_name_list(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_column_name_list(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_column_name_list(&self) -> &Option<Vec<String>>
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.
sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_catalog_id(&self) -> &Option<String>
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.
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The IAM role that the service assumes to generate statistics.
sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The IAM role that the service assumes to generate statistics.
sourcepub fn get_role(&self) -> &Option<String>
pub fn get_role(&self) -> &Option<String>
The IAM role that the service assumes to generate statistics.
sourcepub fn sample_size(self, input: f64) -> Self
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.
sourcepub fn set_sample_size(self, input: Option<f64>) -> Self
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.
sourcepub fn get_sample_size(&self) -> &Option<f64>
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.
sourcepub fn security_configuration(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_security_configuration(self, input: Option<String>) -> Self
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.
sourcepub fn get_security_configuration(&self) -> &Option<String>
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.
sourcepub fn number_of_workers(self, input: i32) -> Self
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.
sourcepub fn set_number_of_workers(self, input: Option<i32>) -> Self
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.
sourcepub fn get_number_of_workers(&self) -> &Option<i32>
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.
sourcepub fn worker_type(self, input: impl Into<String>) -> Self
pub fn worker_type(self, input: impl Into<String>) -> Self
The type of workers being used for generating stats. The default is g.1x
.
sourcepub fn set_worker_type(self, input: Option<String>) -> Self
pub fn set_worker_type(self, input: Option<String>) -> Self
The type of workers being used for generating stats. The default is g.1x
.
sourcepub fn get_worker_type(&self) -> &Option<String>
pub fn get_worker_type(&self) -> &Option<String>
The type of workers being used for generating stats. The default is g.1x
.
sourcepub fn status(self, input: ColumnStatisticsState) -> Self
pub fn status(self, input: ColumnStatisticsState) -> Self
The status of the task run.
sourcepub fn set_status(self, input: Option<ColumnStatisticsState>) -> Self
pub fn set_status(self, input: Option<ColumnStatisticsState>) -> Self
The status of the task run.
sourcepub fn get_status(&self) -> &Option<ColumnStatisticsState>
pub fn get_status(&self) -> &Option<ColumnStatisticsState>
The status of the task run.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that this task was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that this task was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time that this task was created.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The last point in time when this task was modified.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The last point in time when this task was modified.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
The last point in time when this task was modified.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the task.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the task.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time of the task.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time of the task.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end time of the task.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message for the job.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message for the job.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message for the job.
sourcepub fn dpu_seconds(self, input: f64) -> Self
pub fn dpu_seconds(self, input: f64) -> Self
The calculated DPU usage in seconds for all autoscaled workers.
sourcepub fn set_dpu_seconds(self, input: Option<f64>) -> Self
pub fn set_dpu_seconds(self, input: Option<f64>) -> Self
The calculated DPU usage in seconds for all autoscaled workers.
sourcepub fn get_dpu_seconds(&self) -> &Option<f64>
pub fn get_dpu_seconds(&self) -> &Option<f64>
The calculated DPU usage in seconds for all autoscaled workers.
sourcepub fn build(self) -> ColumnStatisticsTaskRun
pub fn build(self) -> ColumnStatisticsTaskRun
Consumes the builder and constructs a ColumnStatisticsTaskRun
.
Trait Implementations§
source§impl Clone for ColumnStatisticsTaskRunBuilder
impl Clone for ColumnStatisticsTaskRunBuilder
source§fn clone(&self) -> ColumnStatisticsTaskRunBuilder
fn clone(&self) -> ColumnStatisticsTaskRunBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ColumnStatisticsTaskRunBuilder
impl Default for ColumnStatisticsTaskRunBuilder
source§fn default() -> ColumnStatisticsTaskRunBuilder
fn default() -> ColumnStatisticsTaskRunBuilder
source§impl PartialEq for ColumnStatisticsTaskRunBuilder
impl PartialEq for ColumnStatisticsTaskRunBuilder
source§fn eq(&self, other: &ColumnStatisticsTaskRunBuilder) -> bool
fn eq(&self, other: &ColumnStatisticsTaskRunBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.