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 for SchemaBuilder
impl PartialEq for SchemaBuilder
impl StructuralPartialEq for SchemaBuilder
Auto Trait Implementations§
impl Freeze for SchemaBuilder
impl RefUnwindSafe for SchemaBuilder
impl Send for SchemaBuilder
impl Sync for SchemaBuilder
impl Unpin for SchemaBuilder
impl UnwindSafe for SchemaBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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