Struct aws_sdk_timestreamwrite::types::builders::SchemaBuilder
source · #[non_exhaustive]pub struct SchemaBuilder { /* private fields */ }
Expand description
A builder for Schema
.
Implementations§
source§impl SchemaBuilder
impl SchemaBuilder
sourcepub fn composite_partition_key(self, input: PartitionKey) -> Self
pub fn composite_partition_key(self, input: PartitionKey) -> Self
Appends an item to composite_partition_key
.
To override the contents of this collection use set_composite_partition_key
.
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
sourcepub fn set_composite_partition_key(
self,
input: Option<Vec<PartitionKey>>
) -> Self
pub fn set_composite_partition_key( self, input: Option<Vec<PartitionKey>> ) -> Self
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
sourcepub fn get_composite_partition_key(&self) -> &Option<Vec<PartitionKey>>
pub fn get_composite_partition_key(&self) -> &Option<Vec<PartitionKey>>
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
Trait Implementations§
source§impl Clone for SchemaBuilder
impl Clone for SchemaBuilder
source§fn clone(&self) -> SchemaBuilder
fn clone(&self) -> SchemaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SchemaBuilder
impl Debug for SchemaBuilder
source§impl Default for SchemaBuilder
impl Default for SchemaBuilder
source§fn default() -> SchemaBuilder
fn default() -> SchemaBuilder
source§impl PartialEq<SchemaBuilder> for SchemaBuilder
impl PartialEq<SchemaBuilder> for SchemaBuilder
source§fn eq(&self, other: &SchemaBuilder) -> bool
fn eq(&self, other: &SchemaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.