Struct aws_sdk_timestreamwrite::types::builders::DimensionBuilder
source · #[non_exhaustive]pub struct DimensionBuilder { /* private fields */ }Expand description
A builder for Dimension.
Implementations§
source§impl DimensionBuilder
impl DimensionBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Dimension represents the metadata attributes of the time series. For example, the name and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on dimension names, see Naming Constraints.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Dimension represents the metadata attributes of the time series. For example, the name and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on dimension names, see Naming Constraints.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Dimension represents the metadata attributes of the time series. For example, the name and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
For constraints on dimension names, see Naming Constraints.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value of the dimension.
This field is required.sourcepub fn dimension_value_type(self, input: DimensionValueType) -> Self
pub fn dimension_value_type(self, input: DimensionValueType) -> Self
The data type of the dimension for the time-series data point.
sourcepub fn set_dimension_value_type(self, input: Option<DimensionValueType>) -> Self
pub fn set_dimension_value_type(self, input: Option<DimensionValueType>) -> Self
The data type of the dimension for the time-series data point.
sourcepub fn get_dimension_value_type(&self) -> &Option<DimensionValueType>
pub fn get_dimension_value_type(&self) -> &Option<DimensionValueType>
The data type of the dimension for the time-series data point.
Trait Implementations§
source§impl Clone for DimensionBuilder
impl Clone for DimensionBuilder
source§fn clone(&self) -> DimensionBuilder
fn clone(&self) -> DimensionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DimensionBuilder
impl Debug for DimensionBuilder
source§impl Default for DimensionBuilder
impl Default for DimensionBuilder
source§fn default() -> DimensionBuilder
fn default() -> DimensionBuilder
source§impl PartialEq for DimensionBuilder
impl PartialEq for DimensionBuilder
source§fn eq(&self, other: &DimensionBuilder) -> bool
fn eq(&self, other: &DimensionBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DimensionBuilder
Auto Trait Implementations§
impl Freeze for DimensionBuilder
impl RefUnwindSafe for DimensionBuilder
impl Send for DimensionBuilder
impl Sync for DimensionBuilder
impl Unpin for DimensionBuilder
impl UnwindSafe for DimensionBuilder
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> 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