Struct aws_sdk_glue::input::create_partition_index_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreatePartitionIndexInput.
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 catalog ID where the table resides.
sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The catalog ID where the table resides.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
Specifies the name of a database in which you want to create a partition index.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
Specifies the name of a database in which you want to create a partition index.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
Specifies the name of a table in which you want to create a partition index.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
Specifies the name of a table in which you want to create a partition index.
sourcepub fn partition_index(self, input: PartitionIndex) -> Self
pub fn partition_index(self, input: PartitionIndex) -> Self
Specifies a PartitionIndex structure to create a partition index in an existing table.
sourcepub fn set_partition_index(self, input: Option<PartitionIndex>) -> Self
pub fn set_partition_index(self, input: Option<PartitionIndex>) -> Self
Specifies a PartitionIndex structure to create a partition index in an existing table.
sourcepub fn build(self) -> Result<CreatePartitionIndexInput, BuildError>
pub fn build(self) -> Result<CreatePartitionIndexInput, BuildError>
Consumes the builder and constructs a CreatePartitionIndexInput.