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