Struct aws_sdk_glue::types::builders::PartitionBuilder
source · #[non_exhaustive]pub struct PartitionBuilder { /* private fields */ }
Expand description
A builder for Partition
.
Implementations§
source§impl PartitionBuilder
impl PartitionBuilder
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The values of the partition.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
The values of the partition.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
The values of the partition.
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 in which to create the partition.
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 in which to create the partition.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the catalog database in which to create the partition.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the database table in which to create the partition.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the database table in which to create the partition.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the database table in which to create the partition.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time at which the partition was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time at which the partition was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time at which the partition was created.
sourcepub fn last_access_time(self, input: DateTime) -> Self
pub fn last_access_time(self, input: DateTime) -> Self
The last time at which the partition was accessed.
sourcepub fn set_last_access_time(self, input: Option<DateTime>) -> Self
pub fn set_last_access_time(self, input: Option<DateTime>) -> Self
The last time at which the partition was accessed.
sourcepub fn get_last_access_time(&self) -> &Option<DateTime>
pub fn get_last_access_time(&self) -> &Option<DateTime>
The last time at which the partition was accessed.
sourcepub fn storage_descriptor(self, input: StorageDescriptor) -> Self
pub fn storage_descriptor(self, input: StorageDescriptor) -> Self
Provides information about the physical location where the partition is stored.
sourcepub fn set_storage_descriptor(self, input: Option<StorageDescriptor>) -> Self
pub fn set_storage_descriptor(self, input: Option<StorageDescriptor>) -> Self
Provides information about the physical location where the partition is stored.
sourcepub fn get_storage_descriptor(&self) -> &Option<StorageDescriptor>
pub fn get_storage_descriptor(&self) -> &Option<StorageDescriptor>
Provides information about the physical location where the partition is stored.
sourcepub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to parameters
.
To override the contents of this collection use set_parameters
.
These key-value pairs define partition parameters.
sourcepub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
These key-value pairs define partition parameters.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_parameters(&self) -> &Option<HashMap<String, String>>
These key-value pairs define partition parameters.
sourcepub fn last_analyzed_time(self, input: DateTime) -> Self
pub fn last_analyzed_time(self, input: DateTime) -> Self
The last time at which column statistics were computed for this partition.
sourcepub fn set_last_analyzed_time(self, input: Option<DateTime>) -> Self
pub fn set_last_analyzed_time(self, input: Option<DateTime>) -> Self
The last time at which column statistics were computed for this partition.
sourcepub fn get_last_analyzed_time(&self) -> &Option<DateTime>
pub fn get_last_analyzed_time(&self) -> &Option<DateTime>
The last time at which column statistics were computed for this partition.
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 the partition resides.
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 the partition resides.
sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
The ID of the Data Catalog in which the partition resides.
Trait Implementations§
source§impl Clone for PartitionBuilder
impl Clone for PartitionBuilder
source§fn clone(&self) -> PartitionBuilder
fn clone(&self) -> PartitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PartitionBuilder
impl Debug for PartitionBuilder
source§impl Default for PartitionBuilder
impl Default for PartitionBuilder
source§fn default() -> PartitionBuilder
fn default() -> PartitionBuilder
source§impl PartialEq for PartitionBuilder
impl PartialEq for PartitionBuilder
source§fn eq(&self, other: &PartitionBuilder) -> bool
fn eq(&self, other: &PartitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PartitionBuilder
Auto Trait Implementations§
impl Freeze for PartitionBuilder
impl RefUnwindSafe for PartitionBuilder
impl Send for PartitionBuilder
impl Sync for PartitionBuilder
impl Unpin for PartitionBuilder
impl UnwindSafe for PartitionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more