#[non_exhaustive]pub struct MeasureValueBuilder { /* private fields */ }
Expand description
A builder for MeasureValue
.
Implementations§
source§impl MeasureValueBuilder
impl MeasureValueBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the MeasureValue.
For constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value for the MeasureValue. For information, see Data types.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value for the MeasureValue. For information, see Data types.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value for the MeasureValue. For information, see Data types.
sourcepub fn type(self, input: MeasureValueType) -> Self
pub fn type(self, input: MeasureValueType) -> Self
Contains the data type of the MeasureValue for the time-series data point.
sourcepub fn set_type(self, input: Option<MeasureValueType>) -> Self
pub fn set_type(self, input: Option<MeasureValueType>) -> Self
Contains the data type of the MeasureValue for the time-series data point.
sourcepub fn get_type(&self) -> &Option<MeasureValueType>
pub fn get_type(&self) -> &Option<MeasureValueType>
Contains the data type of the MeasureValue for the time-series data point.
sourcepub fn build(self) -> MeasureValue
pub fn build(self) -> MeasureValue
Consumes the builder and constructs a MeasureValue
.
Trait Implementations§
source§impl Clone for MeasureValueBuilder
impl Clone for MeasureValueBuilder
source§fn clone(&self) -> MeasureValueBuilder
fn clone(&self) -> MeasureValueBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MeasureValueBuilder
impl Debug for MeasureValueBuilder
source§impl Default for MeasureValueBuilder
impl Default for MeasureValueBuilder
source§fn default() -> MeasureValueBuilder
fn default() -> MeasureValueBuilder
source§impl PartialEq<MeasureValueBuilder> for MeasureValueBuilder
impl PartialEq<MeasureValueBuilder> for MeasureValueBuilder
source§fn eq(&self, other: &MeasureValueBuilder) -> bool
fn eq(&self, other: &MeasureValueBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.