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.
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 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<DimensionBuilder> for DimensionBuilder
impl PartialEq<DimensionBuilder> 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 ==
.