#[non_exhaustive]pub struct TimestreamConfigurationBuilder { /* private fields */ }
Expand description
A builder for TimestreamConfiguration
.
Implementations§
source§impl TimestreamConfigurationBuilder
impl TimestreamConfigurationBuilder
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
Name of Timestream database to which the query result will be written.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
Name of Timestream database to which the query result will be written.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
Name of Timestream database to which the query result will be written.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
sourcepub fn time_column(self, input: impl Into<String>) -> Self
pub fn time_column(self, input: impl Into<String>) -> Self
Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
sourcepub fn set_time_column(self, input: Option<String>) -> Self
pub fn set_time_column(self, input: Option<String>) -> Self
Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
sourcepub fn get_time_column(&self) -> &Option<String>
pub fn get_time_column(&self) -> &Option<String>
Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
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
.
This is to allow mapping column(s) from the query result to the dimension in the destination table.
sourcepub fn set_dimension_mappings(
self,
input: Option<Vec<DimensionMapping>>
) -> Self
pub fn set_dimension_mappings( self, input: Option<Vec<DimensionMapping>> ) -> Self
This is to allow mapping column(s) from the query result to the dimension in the destination table.
sourcepub fn get_dimension_mappings(&self) -> &Option<Vec<DimensionMapping>>
pub fn get_dimension_mappings(&self) -> &Option<Vec<DimensionMapping>>
This is to allow mapping column(s) from the query result to the dimension in the destination table.
sourcepub fn multi_measure_mappings(self, input: MultiMeasureMappings) -> Self
pub fn multi_measure_mappings(self, input: MultiMeasureMappings) -> Self
Multi-measure mappings.
sourcepub fn set_multi_measure_mappings(
self,
input: Option<MultiMeasureMappings>
) -> Self
pub fn set_multi_measure_mappings( self, input: Option<MultiMeasureMappings> ) -> Self
Multi-measure mappings.
sourcepub fn get_multi_measure_mappings(&self) -> &Option<MultiMeasureMappings>
pub fn get_multi_measure_mappings(&self) -> &Option<MultiMeasureMappings>
Multi-measure mappings.
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
.
Specifies how to map measures to multi-measure records.
sourcepub fn set_mixed_measure_mappings(
self,
input: Option<Vec<MixedMeasureMapping>>
) -> Self
pub fn set_mixed_measure_mappings( self, input: Option<Vec<MixedMeasureMapping>> ) -> Self
Specifies how to map measures to multi-measure records.
sourcepub fn get_mixed_measure_mappings(&self) -> &Option<Vec<MixedMeasureMapping>>
pub fn get_mixed_measure_mappings(&self) -> &Option<Vec<MixedMeasureMapping>>
Specifies how to map measures to multi-measure records.
sourcepub fn measure_name_column(self, input: impl Into<String>) -> Self
pub fn measure_name_column(self, input: impl Into<String>) -> Self
Name of the measure column.
sourcepub fn set_measure_name_column(self, input: Option<String>) -> Self
pub fn set_measure_name_column(self, input: Option<String>) -> Self
Name of the measure column.
sourcepub fn get_measure_name_column(&self) -> &Option<String>
pub fn get_measure_name_column(&self) -> &Option<String>
Name of the measure column.
sourcepub fn build(self) -> TimestreamConfiguration
pub fn build(self) -> TimestreamConfiguration
Consumes the builder and constructs a TimestreamConfiguration
.
Trait Implementations§
source§impl Clone for TimestreamConfigurationBuilder
impl Clone for TimestreamConfigurationBuilder
source§fn clone(&self) -> TimestreamConfigurationBuilder
fn clone(&self) -> TimestreamConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TimestreamConfigurationBuilder
impl Default for TimestreamConfigurationBuilder
source§fn default() -> TimestreamConfigurationBuilder
fn default() -> TimestreamConfigurationBuilder
source§impl PartialEq<TimestreamConfigurationBuilder> for TimestreamConfigurationBuilder
impl PartialEq<TimestreamConfigurationBuilder> for TimestreamConfigurationBuilder
source§fn eq(&self, other: &TimestreamConfigurationBuilder) -> bool
fn eq(&self, other: &TimestreamConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.