Struct aws_sdk_glue::input::get_partition_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GetPartitionInput.
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 where the partition in question resides. If none is provided, 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 where the partition in question resides. If none is provided, 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 name of the catalog database where the partition resides.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the catalog database where the partition resides.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the partition's table.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the partition's table.
sourcepub fn partition_values(self, input: impl Into<String>) -> Self
pub fn partition_values(self, input: impl Into<String>) -> Self
Appends an item to partition_values.
To override the contents of this collection use set_partition_values.
The values that define the partition.
sourcepub fn set_partition_values(self, input: Option<Vec<String>>) -> Self
pub fn set_partition_values(self, input: Option<Vec<String>>) -> Self
The values that define the partition.
sourcepub fn build(self) -> Result<GetPartitionInput, BuildError>
pub fn build(self) -> Result<GetPartitionInput, BuildError>
Consumes the builder and constructs a GetPartitionInput.