Struct aws_sdk_glue::types::builders::PartitionInputBuilder
source · #[non_exhaustive]pub struct PartitionInputBuilder { /* private fields */ }Expand description
A builder for PartitionInput.
Implementations§
source§impl PartitionInputBuilder
impl PartitionInputBuilder
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. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.
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. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.
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 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 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 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 build(self) -> PartitionInput
pub fn build(self) -> PartitionInput
Consumes the builder and constructs a PartitionInput.
Trait Implementations§
source§impl Clone for PartitionInputBuilder
impl Clone for PartitionInputBuilder
source§fn clone(&self) -> PartitionInputBuilder
fn clone(&self) -> PartitionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PartitionInputBuilder
impl Debug for PartitionInputBuilder
source§impl Default for PartitionInputBuilder
impl Default for PartitionInputBuilder
source§fn default() -> PartitionInputBuilder
fn default() -> PartitionInputBuilder
source§impl PartialEq<PartitionInputBuilder> for PartitionInputBuilder
impl PartialEq<PartitionInputBuilder> for PartitionInputBuilder
source§fn eq(&self, other: &PartitionInputBuilder) -> bool
fn eq(&self, other: &PartitionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.