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