Struct aws_sdk_glue::operation::start_column_statistics_task_run::builders::StartColumnStatisticsTaskRunFluentBuilder
source · pub struct StartColumnStatisticsTaskRunFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartColumnStatisticsTaskRun
.
Starts a column statistics task run, for a specified table and columns.
Implementations§
source§impl StartColumnStatisticsTaskRunFluentBuilder
impl StartColumnStatisticsTaskRunFluentBuilder
sourcepub fn as_input(&self) -> &StartColumnStatisticsTaskRunInputBuilder
pub fn as_input(&self) -> &StartColumnStatisticsTaskRunInputBuilder
Access the StartColumnStatisticsTaskRun as a reference.
sourcepub async fn send(
self,
) -> Result<StartColumnStatisticsTaskRunOutput, SdkError<StartColumnStatisticsTaskRunError, HttpResponse>>
pub async fn send( self, ) -> Result<StartColumnStatisticsTaskRunOutput, SdkError<StartColumnStatisticsTaskRunError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<StartColumnStatisticsTaskRunOutput, StartColumnStatisticsTaskRunError, Self>
pub fn customize( self, ) -> CustomizableOperation<StartColumnStatisticsTaskRunOutput, StartColumnStatisticsTaskRunError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of 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 name of the database where the table resides.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of 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 to generate statistics.
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 to generate statistics.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table to generate statistics.
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 ColumnNameList
.
To override the contents of this collection use set_column_name_list
.
A list of the column names to generate statistics. 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 to generate statistics. 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 to generate statistics. If none is supplied, all column names for the table will be 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 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 reside. 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 reside. 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 reside. If none is supplied, the Amazon Web Services account ID is used by default.
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.
Trait Implementations§
source§impl Clone for StartColumnStatisticsTaskRunFluentBuilder
impl Clone for StartColumnStatisticsTaskRunFluentBuilder
source§fn clone(&self) -> StartColumnStatisticsTaskRunFluentBuilder
fn clone(&self) -> StartColumnStatisticsTaskRunFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StartColumnStatisticsTaskRunFluentBuilder
impl !RefUnwindSafe for StartColumnStatisticsTaskRunFluentBuilder
impl Send for StartColumnStatisticsTaskRunFluentBuilder
impl Sync for StartColumnStatisticsTaskRunFluentBuilder
impl Unpin for StartColumnStatisticsTaskRunFluentBuilder
impl !UnwindSafe for StartColumnStatisticsTaskRunFluentBuilder
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> 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