Struct aws_sdk_iotsitewise::types::builders::MeasurementBuilder
source · #[non_exhaustive]pub struct MeasurementBuilder { /* private fields */ }Expand description
A builder for Measurement.
Implementations§
source§impl MeasurementBuilder
impl MeasurementBuilder
sourcepub fn processing_config(self, input: MeasurementProcessingConfig) -> Self
pub fn processing_config(self, input: MeasurementProcessingConfig) -> Self
The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.
sourcepub fn set_processing_config(
self,
input: Option<MeasurementProcessingConfig>
) -> Self
pub fn set_processing_config( self, input: Option<MeasurementProcessingConfig> ) -> Self
The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.
sourcepub fn get_processing_config(&self) -> &Option<MeasurementProcessingConfig>
pub fn get_processing_config(&self) -> &Option<MeasurementProcessingConfig>
The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.
sourcepub fn build(self) -> Measurement
pub fn build(self) -> Measurement
Consumes the builder and constructs a Measurement.
Trait Implementations§
source§impl Clone for MeasurementBuilder
impl Clone for MeasurementBuilder
source§fn clone(&self) -> MeasurementBuilder
fn clone(&self) -> MeasurementBuilder
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 MeasurementBuilder
impl Debug for MeasurementBuilder
source§impl Default for MeasurementBuilder
impl Default for MeasurementBuilder
source§fn default() -> MeasurementBuilder
fn default() -> MeasurementBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MeasurementBuilder
impl PartialEq for MeasurementBuilder
source§fn eq(&self, other: &MeasurementBuilder) -> bool
fn eq(&self, other: &MeasurementBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MeasurementBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MeasurementBuilder
impl Send for MeasurementBuilder
impl Sync for MeasurementBuilder
impl Unpin for MeasurementBuilder
impl UnwindSafe for MeasurementBuilder
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.