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.
This field is required.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) -> Result<TimestreamDimension, BuildError>
pub fn build(self) -> Result<TimestreamDimension, BuildError>
Consumes the builder and constructs a TimestreamDimension.
This method will fail if any of the following fields are not set:
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
impl StructuralPartialEq for TimestreamDimensionBuilder
Auto Trait Implementations§
impl Freeze for TimestreamDimensionBuilder
impl RefUnwindSafe for TimestreamDimensionBuilder
impl Send for TimestreamDimensionBuilder
impl Sync for TimestreamDimensionBuilder
impl Unpin for TimestreamDimensionBuilder
impl UnwindSafe for TimestreamDimensionBuilder
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