Struct aws_sdk_iotsitewise::types::builders::AggregatedValueBuilder
source · #[non_exhaustive]pub struct AggregatedValueBuilder { /* private fields */ }Expand description
A builder for AggregatedValue.
Implementations§
source§impl AggregatedValueBuilder
impl AggregatedValueBuilder
sourcepub fn timestamp(self, input: DateTime) -> Self
pub fn timestamp(self, input: DateTime) -> Self
The date the aggregating computations occurred, in Unix epoch time.
This field is required.sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
The date the aggregating computations occurred, in Unix epoch time.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
The date the aggregating computations occurred, in Unix epoch time.
sourcepub fn set_quality(self, input: Option<Quality>) -> Self
pub fn set_quality(self, input: Option<Quality>) -> Self
The quality of the aggregated data.
sourcepub fn get_quality(&self) -> &Option<Quality>
pub fn get_quality(&self) -> &Option<Quality>
The quality of the aggregated data.
sourcepub fn value(self, input: Aggregates) -> Self
pub fn value(self, input: Aggregates) -> Self
The value of the aggregates.
This field is required.sourcepub fn set_value(self, input: Option<Aggregates>) -> Self
pub fn set_value(self, input: Option<Aggregates>) -> Self
The value of the aggregates.
sourcepub fn get_value(&self) -> &Option<Aggregates>
pub fn get_value(&self) -> &Option<Aggregates>
The value of the aggregates.
sourcepub fn build(self) -> Result<AggregatedValue, BuildError>
pub fn build(self) -> Result<AggregatedValue, BuildError>
Consumes the builder and constructs a AggregatedValue.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AggregatedValueBuilder
impl Clone for AggregatedValueBuilder
source§fn clone(&self) -> AggregatedValueBuilder
fn clone(&self) -> AggregatedValueBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AggregatedValueBuilder
impl Debug for AggregatedValueBuilder
source§impl Default for AggregatedValueBuilder
impl Default for AggregatedValueBuilder
source§fn default() -> AggregatedValueBuilder
fn default() -> AggregatedValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AggregatedValueBuilder
impl PartialEq for AggregatedValueBuilder
source§fn eq(&self, other: &AggregatedValueBuilder) -> bool
fn eq(&self, other: &AggregatedValueBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AggregatedValueBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AggregatedValueBuilder
impl Send for AggregatedValueBuilder
impl Sync for AggregatedValueBuilder
impl Unpin for AggregatedValueBuilder
impl UnwindSafe for AggregatedValueBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.