pub struct CreateTableFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateTable
.
Creates a new table definition in the Data Catalog.
Implementations§
source§impl CreateTableFluentBuilder
impl CreateTableFluentBuilder
sourcepub fn as_input(&self) -> &CreateTableInputBuilder
pub fn as_input(&self) -> &CreateTableInputBuilder
Access the CreateTable as a reference.
sourcepub async fn send(
self,
) -> Result<CreateTableOutput, SdkError<CreateTableError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateTableOutput, SdkError<CreateTableError, 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<CreateTableOutput, CreateTableError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateTableOutput, CreateTableError, 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 ID of the Data Catalog in which to create the Table
. 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 in which to create the Table
. 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 in which to create the Table
. If none is supplied, the Amazon Web Services account ID is used by default.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
sourcepub fn table_input(self, input: TableInput) -> Self
pub fn table_input(self, input: TableInput) -> Self
The TableInput
object that defines the metadata table to create in the catalog.
sourcepub fn set_table_input(self, input: Option<TableInput>) -> Self
pub fn set_table_input(self, input: Option<TableInput>) -> Self
The TableInput
object that defines the metadata table to create in the catalog.
sourcepub fn get_table_input(&self) -> &Option<TableInput>
pub fn get_table_input(&self) -> &Option<TableInput>
The TableInput
object that defines the metadata table to create in the catalog.
sourcepub fn partition_indexes(self, input: PartitionIndex) -> Self
pub fn partition_indexes(self, input: PartitionIndex) -> Self
Appends an item to PartitionIndexes
.
To override the contents of this collection use set_partition_indexes
.
A list of partition indexes, PartitionIndex
structures, to create in the table.
sourcepub fn set_partition_indexes(self, input: Option<Vec<PartitionIndex>>) -> Self
pub fn set_partition_indexes(self, input: Option<Vec<PartitionIndex>>) -> Self
A list of partition indexes, PartitionIndex
structures, to create in the table.
sourcepub fn get_partition_indexes(&self) -> &Option<Vec<PartitionIndex>>
pub fn get_partition_indexes(&self) -> &Option<Vec<PartitionIndex>>
A list of partition indexes, PartitionIndex
structures, to create in the table.
sourcepub fn transaction_id(self, input: impl Into<String>) -> Self
pub fn transaction_id(self, input: impl Into<String>) -> Self
The ID of the transaction.
sourcepub fn set_transaction_id(self, input: Option<String>) -> Self
pub fn set_transaction_id(self, input: Option<String>) -> Self
The ID of the transaction.
sourcepub fn get_transaction_id(&self) -> &Option<String>
pub fn get_transaction_id(&self) -> &Option<String>
The ID of the transaction.
sourcepub fn open_table_format_input(self, input: OpenTableFormatInput) -> Self
pub fn open_table_format_input(self, input: OpenTableFormatInput) -> Self
Specifies an OpenTableFormatInput
structure when creating an open format table.
sourcepub fn set_open_table_format_input(
self,
input: Option<OpenTableFormatInput>,
) -> Self
pub fn set_open_table_format_input( self, input: Option<OpenTableFormatInput>, ) -> Self
Specifies an OpenTableFormatInput
structure when creating an open format table.
sourcepub fn get_open_table_format_input(&self) -> &Option<OpenTableFormatInput>
pub fn get_open_table_format_input(&self) -> &Option<OpenTableFormatInput>
Specifies an OpenTableFormatInput
structure when creating an open format table.
Trait Implementations§
source§impl Clone for CreateTableFluentBuilder
impl Clone for CreateTableFluentBuilder
source§fn clone(&self) -> CreateTableFluentBuilder
fn clone(&self) -> CreateTableFluentBuilder
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 CreateTableFluentBuilder
impl !RefUnwindSafe for CreateTableFluentBuilder
impl Send for CreateTableFluentBuilder
impl Sync for CreateTableFluentBuilder
impl Unpin for CreateTableFluentBuilder
impl !UnwindSafe for CreateTableFluentBuilder
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