Struct aws_sdk_glue::input::create_table_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateTableInput.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> Result<CreateTableInput, BuildError>
pub fn build(self) -> Result<CreateTableInput, BuildError>
Consumes the builder and constructs a CreateTableInput.