Struct aws_sdk_iot::types::builders::TimestreamDimensionBuilder
source · #[non_exhaustive]pub struct TimestreamDimensionBuilder { /* private fields */ }
Expand description
A builder for TimestreamDimension
.
Implementations§
source§impl TimestreamDimensionBuilder
impl TimestreamDimensionBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
, measure_value
, or time
. These names are reserved. Dimension names cannot start with ts_
or measure_value
and they cannot contain the colon (:
) character.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
, measure_value
, or time
. These names are reserved. Dimension names cannot start with ts_
or measure_value
and they cannot contain the colon (:
) character.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The metadata dimension name. This is the name of the column in the Amazon Timestream database table record.
Dimensions cannot be named: measure_name
, measure_value
, or time
. These names are reserved. Dimension names cannot start with ts_
or measure_value
and they cannot contain the colon (:
) character.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value to write in this column of the database record.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value to write in this column of the database record.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value to write in this column of the database record.
sourcepub fn build(self) -> TimestreamDimension
pub fn build(self) -> TimestreamDimension
Consumes the builder and constructs a TimestreamDimension
.
Trait Implementations§
source§impl Clone for TimestreamDimensionBuilder
impl Clone for TimestreamDimensionBuilder
source§fn clone(&self) -> TimestreamDimensionBuilder
fn clone(&self) -> TimestreamDimensionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimestreamDimensionBuilder
impl Debug for TimestreamDimensionBuilder
source§impl Default for TimestreamDimensionBuilder
impl Default for TimestreamDimensionBuilder
source§fn default() -> TimestreamDimensionBuilder
fn default() -> TimestreamDimensionBuilder
source§impl PartialEq for TimestreamDimensionBuilder
impl PartialEq for TimestreamDimensionBuilder
source§fn eq(&self, other: &TimestreamDimensionBuilder) -> bool
fn eq(&self, other: &TimestreamDimensionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.