Struct aws_sdk_glue::operation::create_table_optimizer::builders::CreateTableOptimizerFluentBuilder
source · pub struct CreateTableOptimizerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateTableOptimizer
.
Creates a new table optimizer for a specific function. compaction
is the only currently supported optimizer type.
Implementations§
source§impl CreateTableOptimizerFluentBuilder
impl CreateTableOptimizerFluentBuilder
sourcepub fn as_input(&self) -> &CreateTableOptimizerInputBuilder
pub fn as_input(&self) -> &CreateTableOptimizerInputBuilder
Access the CreateTableOptimizer as a reference.
sourcepub async fn send(
self,
) -> Result<CreateTableOptimizerOutput, SdkError<CreateTableOptimizerError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateTableOptimizerOutput, SdkError<CreateTableOptimizerError, 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<CreateTableOptimizerOutput, CreateTableOptimizerError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateTableOptimizerOutput, CreateTableOptimizerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
The Catalog ID of the table.
sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The Catalog ID of the table.
sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
The Catalog ID of the table.
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 in the catalog in which 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 in the catalog in which the table resides.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database in the catalog in which 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.
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.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table.
sourcepub fn type(self, input: TableOptimizerType) -> Self
pub fn type(self, input: TableOptimizerType) -> Self
The type of table optimizer. Currently, the only valid value is compaction
.
sourcepub fn set_type(self, input: Option<TableOptimizerType>) -> Self
pub fn set_type(self, input: Option<TableOptimizerType>) -> Self
The type of table optimizer. Currently, the only valid value is compaction
.
sourcepub fn get_type(&self) -> &Option<TableOptimizerType>
pub fn get_type(&self) -> &Option<TableOptimizerType>
The type of table optimizer. Currently, the only valid value is compaction
.
sourcepub fn table_optimizer_configuration(
self,
input: TableOptimizerConfiguration,
) -> Self
pub fn table_optimizer_configuration( self, input: TableOptimizerConfiguration, ) -> Self
A TableOptimizerConfiguration
object representing the configuration of a table optimizer.
sourcepub fn set_table_optimizer_configuration(
self,
input: Option<TableOptimizerConfiguration>,
) -> Self
pub fn set_table_optimizer_configuration( self, input: Option<TableOptimizerConfiguration>, ) -> Self
A TableOptimizerConfiguration
object representing the configuration of a table optimizer.
sourcepub fn get_table_optimizer_configuration(
&self,
) -> &Option<TableOptimizerConfiguration>
pub fn get_table_optimizer_configuration( &self, ) -> &Option<TableOptimizerConfiguration>
A TableOptimizerConfiguration
object representing the configuration of a table optimizer.
Trait Implementations§
source§impl Clone for CreateTableOptimizerFluentBuilder
impl Clone for CreateTableOptimizerFluentBuilder
source§fn clone(&self) -> CreateTableOptimizerFluentBuilder
fn clone(&self) -> CreateTableOptimizerFluentBuilder
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 CreateTableOptimizerFluentBuilder
impl !RefUnwindSafe for CreateTableOptimizerFluentBuilder
impl Send for CreateTableOptimizerFluentBuilder
impl Sync for CreateTableOptimizerFluentBuilder
impl Unpin for CreateTableOptimizerFluentBuilder
impl !UnwindSafe for CreateTableOptimizerFluentBuilder
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