Struct aws_sdk_glue::operation::start_column_statistics_task_run::builders::StartColumnStatisticsTaskRunInputBuilder
source · #[non_exhaustive]pub struct StartColumnStatisticsTaskRunInputBuilder { /* private fields */ }Expand description
A builder for StartColumnStatisticsTaskRunInput.
Implementations§
source§impl StartColumnStatisticsTaskRunInputBuilder
impl StartColumnStatisticsTaskRunInputBuilder
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.
This field is required.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.
This field is required.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 column_name_list.
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.
This field is required.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.
sourcepub fn build(self) -> Result<StartColumnStatisticsTaskRunInput, BuildError>
pub fn build(self) -> Result<StartColumnStatisticsTaskRunInput, BuildError>
Consumes the builder and constructs a StartColumnStatisticsTaskRunInput.
source§impl StartColumnStatisticsTaskRunInputBuilder
impl StartColumnStatisticsTaskRunInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<StartColumnStatisticsTaskRunOutput, SdkError<StartColumnStatisticsTaskRunError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<StartColumnStatisticsTaskRunOutput, SdkError<StartColumnStatisticsTaskRunError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartColumnStatisticsTaskRunInputBuilder
impl Clone for StartColumnStatisticsTaskRunInputBuilder
source§fn clone(&self) -> StartColumnStatisticsTaskRunInputBuilder
fn clone(&self) -> StartColumnStatisticsTaskRunInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartColumnStatisticsTaskRunInputBuilder
impl Default for StartColumnStatisticsTaskRunInputBuilder
source§fn default() -> StartColumnStatisticsTaskRunInputBuilder
fn default() -> StartColumnStatisticsTaskRunInputBuilder
source§impl PartialEq for StartColumnStatisticsTaskRunInputBuilder
impl PartialEq for StartColumnStatisticsTaskRunInputBuilder
source§fn eq(&self, other: &StartColumnStatisticsTaskRunInputBuilder) -> bool
fn eq(&self, other: &StartColumnStatisticsTaskRunInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartColumnStatisticsTaskRunInputBuilder
Auto Trait Implementations§
impl Freeze for StartColumnStatisticsTaskRunInputBuilder
impl RefUnwindSafe for StartColumnStatisticsTaskRunInputBuilder
impl Send for StartColumnStatisticsTaskRunInputBuilder
impl Sync for StartColumnStatisticsTaskRunInputBuilder
impl Unpin for StartColumnStatisticsTaskRunInputBuilder
impl UnwindSafe for StartColumnStatisticsTaskRunInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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