Struct aws_sdk_glue::operation::get_table_optimizer::builders::GetTableOptimizerInputBuilder
source · #[non_exhaustive]pub struct GetTableOptimizerInputBuilder { /* private fields */ }
Expand description
A builder for GetTableOptimizerInput
.
Implementations§
source§impl GetTableOptimizerInputBuilder
impl GetTableOptimizerInputBuilder
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.
This field is required.sourcepub fn set_type(self, input: Option<TableOptimizerType>) -> Self
pub fn set_type(self, input: Option<TableOptimizerType>) -> Self
The type of table optimizer.
sourcepub fn get_type(&self) -> &Option<TableOptimizerType>
pub fn get_type(&self) -> &Option<TableOptimizerType>
The type of table optimizer.
sourcepub fn build(self) -> Result<GetTableOptimizerInput, BuildError>
pub fn build(self) -> Result<GetTableOptimizerInput, BuildError>
Consumes the builder and constructs a GetTableOptimizerInput
.
source§impl GetTableOptimizerInputBuilder
impl GetTableOptimizerInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetTableOptimizerOutput, SdkError<GetTableOptimizerError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetTableOptimizerOutput, SdkError<GetTableOptimizerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetTableOptimizerInputBuilder
impl Clone for GetTableOptimizerInputBuilder
source§fn clone(&self) -> GetTableOptimizerInputBuilder
fn clone(&self) -> GetTableOptimizerInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetTableOptimizerInputBuilder
impl Default for GetTableOptimizerInputBuilder
source§fn default() -> GetTableOptimizerInputBuilder
fn default() -> GetTableOptimizerInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetTableOptimizerInputBuilder
impl PartialEq for GetTableOptimizerInputBuilder
source§fn eq(&self, other: &GetTableOptimizerInputBuilder) -> bool
fn eq(&self, other: &GetTableOptimizerInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTableOptimizerInputBuilder
Auto Trait Implementations§
impl Freeze for GetTableOptimizerInputBuilder
impl RefUnwindSafe for GetTableOptimizerInputBuilder
impl Send for GetTableOptimizerInputBuilder
impl Sync for GetTableOptimizerInputBuilder
impl Unpin for GetTableOptimizerInputBuilder
impl UnwindSafe for GetTableOptimizerInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.