Struct aws_sdk_timestreamwrite::types::builders::DataModelBuilder
source · #[non_exhaustive]pub struct DataModelBuilder { /* private fields */ }
Expand description
A builder for DataModel
.
Implementations§
source§impl DataModelBuilder
impl DataModelBuilder
sourcepub fn time_column(self, input: impl Into<String>) -> Self
pub fn time_column(self, input: impl Into<String>) -> Self
Source column to be mapped to time.
sourcepub fn set_time_column(self, input: Option<String>) -> Self
pub fn set_time_column(self, input: Option<String>) -> Self
Source column to be mapped to time.
sourcepub fn get_time_column(&self) -> &Option<String>
pub fn get_time_column(&self) -> &Option<String>
Source column to be mapped to time.
sourcepub fn time_unit(self, input: TimeUnit) -> Self
pub fn time_unit(self, input: TimeUnit) -> Self
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds, or other supported values. Default is MILLISECONDS
.
sourcepub fn set_time_unit(self, input: Option<TimeUnit>) -> Self
pub fn set_time_unit(self, input: Option<TimeUnit>) -> Self
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds, or other supported values. Default is MILLISECONDS
.
sourcepub fn get_time_unit(&self) -> &Option<TimeUnit>
pub fn get_time_unit(&self) -> &Option<TimeUnit>
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds, or other supported values. Default is MILLISECONDS
.
sourcepub fn dimension_mappings(self, input: DimensionMapping) -> Self
pub fn dimension_mappings(self, input: DimensionMapping) -> Self
Appends an item to dimension_mappings
.
To override the contents of this collection use set_dimension_mappings
.
Source to target mappings for dimensions.
sourcepub fn set_dimension_mappings(
self,
input: Option<Vec<DimensionMapping>>
) -> Self
pub fn set_dimension_mappings( self, input: Option<Vec<DimensionMapping>> ) -> Self
Source to target mappings for dimensions.
sourcepub fn get_dimension_mappings(&self) -> &Option<Vec<DimensionMapping>>
pub fn get_dimension_mappings(&self) -> &Option<Vec<DimensionMapping>>
Source to target mappings for dimensions.
sourcepub fn multi_measure_mappings(self, input: MultiMeasureMappings) -> Self
pub fn multi_measure_mappings(self, input: MultiMeasureMappings) -> Self
Source to target mappings for multi-measure records.
sourcepub fn set_multi_measure_mappings(
self,
input: Option<MultiMeasureMappings>
) -> Self
pub fn set_multi_measure_mappings( self, input: Option<MultiMeasureMappings> ) -> Self
Source to target mappings for multi-measure records.
sourcepub fn get_multi_measure_mappings(&self) -> &Option<MultiMeasureMappings>
pub fn get_multi_measure_mappings(&self) -> &Option<MultiMeasureMappings>
Source to target mappings for multi-measure records.
sourcepub fn mixed_measure_mappings(self, input: MixedMeasureMapping) -> Self
pub fn mixed_measure_mappings(self, input: MixedMeasureMapping) -> Self
Appends an item to mixed_measure_mappings
.
To override the contents of this collection use set_mixed_measure_mappings
.
Source to target mappings for measures.
sourcepub fn set_mixed_measure_mappings(
self,
input: Option<Vec<MixedMeasureMapping>>
) -> Self
pub fn set_mixed_measure_mappings( self, input: Option<Vec<MixedMeasureMapping>> ) -> Self
Source to target mappings for measures.
sourcepub fn get_mixed_measure_mappings(&self) -> &Option<Vec<MixedMeasureMapping>>
pub fn get_mixed_measure_mappings(&self) -> &Option<Vec<MixedMeasureMapping>>
Source to target mappings for measures.
sourcepub fn measure_name_column(self, input: impl Into<String>) -> Self
pub fn measure_name_column(self, input: impl Into<String>) -> Self
sourcepub fn set_measure_name_column(self, input: Option<String>) -> Self
pub fn set_measure_name_column(self, input: Option<String>) -> Self
sourcepub fn get_measure_name_column(&self) -> &Option<String>
pub fn get_measure_name_column(&self) -> &Option<String>
Trait Implementations§
source§impl Clone for DataModelBuilder
impl Clone for DataModelBuilder
source§fn clone(&self) -> DataModelBuilder
fn clone(&self) -> DataModelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataModelBuilder
impl Debug for DataModelBuilder
source§impl Default for DataModelBuilder
impl Default for DataModelBuilder
source§fn default() -> DataModelBuilder
fn default() -> DataModelBuilder
source§impl PartialEq<DataModelBuilder> for DataModelBuilder
impl PartialEq<DataModelBuilder> for DataModelBuilder
source§fn eq(&self, other: &DataModelBuilder) -> bool
fn eq(&self, other: &DataModelBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.