Struct aws_sdk_glue::operation::create_partition_index::builders::CreatePartitionIndexInputBuilder
source · #[non_exhaustive]pub struct CreatePartitionIndexInputBuilder { /* private fields */ }Expand description
A builder for CreatePartitionIndexInput.
Implementations§
source§impl CreatePartitionIndexInputBuilder
impl CreatePartitionIndexInputBuilder
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 get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
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.
This field is required.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 get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
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.
This field is required.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 get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
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 get_partition_index(&self) -> &Option<PartitionIndex>
pub fn get_partition_index(&self) -> &Option<PartitionIndex>
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.
source§impl CreatePartitionIndexInputBuilder
impl CreatePartitionIndexInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreatePartitionIndexOutput, SdkError<CreatePartitionIndexError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreatePartitionIndexOutput, SdkError<CreatePartitionIndexError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreatePartitionIndexInputBuilder
impl Clone for CreatePartitionIndexInputBuilder
source§fn clone(&self) -> CreatePartitionIndexInputBuilder
fn clone(&self) -> CreatePartitionIndexInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreatePartitionIndexInputBuilder
impl Default for CreatePartitionIndexInputBuilder
source§fn default() -> CreatePartitionIndexInputBuilder
fn default() -> CreatePartitionIndexInputBuilder
source§impl PartialEq for CreatePartitionIndexInputBuilder
impl PartialEq for CreatePartitionIndexInputBuilder
source§fn eq(&self, other: &CreatePartitionIndexInputBuilder) -> bool
fn eq(&self, other: &CreatePartitionIndexInputBuilder) -> bool
self and other values to be equal, and is used
by ==.