Struct aws_sdk_iotsitewise::types::builders::MetricWindowBuilder
source · #[non_exhaustive]pub struct MetricWindowBuilder { /* private fields */ }Expand description
A builder for MetricWindow.
Implementations§
source§impl MetricWindowBuilder
impl MetricWindowBuilder
sourcepub fn tumbling(self, input: TumblingWindow) -> Self
pub fn tumbling(self, input: TumblingWindow) -> Self
The tumbling time interval window.
sourcepub fn set_tumbling(self, input: Option<TumblingWindow>) -> Self
pub fn set_tumbling(self, input: Option<TumblingWindow>) -> Self
The tumbling time interval window.
sourcepub fn get_tumbling(&self) -> &Option<TumblingWindow>
pub fn get_tumbling(&self) -> &Option<TumblingWindow>
The tumbling time interval window.
sourcepub fn build(self) -> MetricWindow
pub fn build(self) -> MetricWindow
Consumes the builder and constructs a MetricWindow.
Trait Implementations§
source§impl Clone for MetricWindowBuilder
impl Clone for MetricWindowBuilder
source§fn clone(&self) -> MetricWindowBuilder
fn clone(&self) -> MetricWindowBuilder
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 MetricWindowBuilder
impl Debug for MetricWindowBuilder
source§impl Default for MetricWindowBuilder
impl Default for MetricWindowBuilder
source§fn default() -> MetricWindowBuilder
fn default() -> MetricWindowBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MetricWindowBuilder
impl PartialEq for MetricWindowBuilder
source§fn eq(&self, other: &MetricWindowBuilder) -> bool
fn eq(&self, other: &MetricWindowBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetricWindowBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MetricWindowBuilder
impl Send for MetricWindowBuilder
impl Sync for MetricWindowBuilder
impl Unpin for MetricWindowBuilder
impl UnwindSafe for MetricWindowBuilder
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.