#[non_exhaustive]pub struct CreateTableInputBuilder { /* private fields */ }Expand description
A builder for CreateTableInput.
Implementations§
source§impl CreateTableInputBuilder
impl CreateTableInputBuilder
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.
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 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 partition_indexes.
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.
sourcepub fn build(self) -> Result<CreateTableInput, BuildError>
pub fn build(self) -> Result<CreateTableInput, BuildError>
Consumes the builder and constructs a CreateTableInput.
source§impl CreateTableInputBuilder
impl CreateTableInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTableOutput, SdkError<CreateTableError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTableOutput, SdkError<CreateTableError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTableInputBuilder
impl Clone for CreateTableInputBuilder
source§fn clone(&self) -> CreateTableInputBuilder
fn clone(&self) -> CreateTableInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateTableInputBuilder
impl Debug for CreateTableInputBuilder
source§impl Default for CreateTableInputBuilder
impl Default for CreateTableInputBuilder
source§fn default() -> CreateTableInputBuilder
fn default() -> CreateTableInputBuilder
source§impl PartialEq for CreateTableInputBuilder
impl PartialEq for CreateTableInputBuilder
source§fn eq(&self, other: &CreateTableInputBuilder) -> bool
fn eq(&self, other: &CreateTableInputBuilder) -> bool
self and other values to be equal, and is used
by ==.