Struct aws_sdk_rds::types::builders::MetricBuilder
source · #[non_exhaustive]pub struct MetricBuilder { /* private fields */ }Expand description
A builder for Metric.
Implementations§
source§impl MetricBuilder
impl MetricBuilder
sourcepub fn references(self, input: MetricReference) -> Self
pub fn references(self, input: MetricReference) -> Self
Appends an item to references.
To override the contents of this collection use set_references.
A list of metric references (thresholds).
sourcepub fn set_references(self, input: Option<Vec<MetricReference>>) -> Self
pub fn set_references(self, input: Option<Vec<MetricReference>>) -> Self
A list of metric references (thresholds).
sourcepub fn get_references(&self) -> &Option<Vec<MetricReference>>
pub fn get_references(&self) -> &Option<Vec<MetricReference>>
A list of metric references (thresholds).
sourcepub fn statistics_details(self, input: impl Into<String>) -> Self
pub fn statistics_details(self, input: impl Into<String>) -> Self
The details of different statistics for a metric. The description might contain markdown.
sourcepub fn set_statistics_details(self, input: Option<String>) -> Self
pub fn set_statistics_details(self, input: Option<String>) -> Self
The details of different statistics for a metric. The description might contain markdown.
sourcepub fn get_statistics_details(&self) -> &Option<String>
pub fn get_statistics_details(&self) -> &Option<String>
The details of different statistics for a metric. The description might contain markdown.
sourcepub fn metric_query(self, input: MetricQuery) -> Self
pub fn metric_query(self, input: MetricQuery) -> Self
The query to retrieve metric data points.
sourcepub fn set_metric_query(self, input: Option<MetricQuery>) -> Self
pub fn set_metric_query(self, input: Option<MetricQuery>) -> Self
The query to retrieve metric data points.
sourcepub fn get_metric_query(&self) -> &Option<MetricQuery>
pub fn get_metric_query(&self) -> &Option<MetricQuery>
The query to retrieve metric data points.
Trait Implementations§
source§impl Clone for MetricBuilder
impl Clone for MetricBuilder
source§fn clone(&self) -> MetricBuilder
fn clone(&self) -> MetricBuilder
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 MetricBuilder
impl Debug for MetricBuilder
source§impl Default for MetricBuilder
impl Default for MetricBuilder
source§fn default() -> MetricBuilder
fn default() -> MetricBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MetricBuilder
impl PartialEq for MetricBuilder
source§fn eq(&self, other: &MetricBuilder) -> bool
fn eq(&self, other: &MetricBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetricBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MetricBuilder
impl Send for MetricBuilder
impl Sync for MetricBuilder
impl Unpin for MetricBuilder
impl UnwindSafe for MetricBuilder
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.