#[non_exhaustive]pub struct RdsDatabaseProjectedMetricBuilder { /* private fields */ }
Expand description
A builder for RdsDatabaseProjectedMetric
.
Implementations§
source§impl RdsDatabaseProjectedMetricBuilder
impl RdsDatabaseProjectedMetricBuilder
sourcepub fn name(self, input: RdsdbMetricName) -> Self
pub fn name(self, input: RdsdbMetricName) -> Self
The name of the projected metric.
sourcepub fn set_name(self, input: Option<RdsdbMetricName>) -> Self
pub fn set_name(self, input: Option<RdsdbMetricName>) -> Self
The name of the projected metric.
sourcepub fn get_name(&self) -> &Option<RdsdbMetricName>
pub fn get_name(&self) -> &Option<RdsdbMetricName>
The name of the projected metric.
sourcepub fn timestamps(self, input: DateTime) -> Self
pub fn timestamps(self, input: DateTime) -> Self
Appends an item to timestamps
.
To override the contents of this collection use set_timestamps
.
The timestamps of the projected metric.
sourcepub fn set_timestamps(self, input: Option<Vec<DateTime>>) -> Self
pub fn set_timestamps(self, input: Option<Vec<DateTime>>) -> Self
The timestamps of the projected metric.
sourcepub fn get_timestamps(&self) -> &Option<Vec<DateTime>>
pub fn get_timestamps(&self) -> &Option<Vec<DateTime>>
The timestamps of the projected metric.
sourcepub fn values(self, input: f64) -> Self
pub fn values(self, input: f64) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The values for the projected metric.
sourcepub fn set_values(self, input: Option<Vec<f64>>) -> Self
pub fn set_values(self, input: Option<Vec<f64>>) -> Self
The values for the projected metric.
sourcepub fn get_values(&self) -> &Option<Vec<f64>>
pub fn get_values(&self) -> &Option<Vec<f64>>
The values for the projected metric.
sourcepub fn build(self) -> RdsDatabaseProjectedMetric
pub fn build(self) -> RdsDatabaseProjectedMetric
Consumes the builder and constructs a RdsDatabaseProjectedMetric
.
Trait Implementations§
source§impl Clone for RdsDatabaseProjectedMetricBuilder
impl Clone for RdsDatabaseProjectedMetricBuilder
source§fn clone(&self) -> RdsDatabaseProjectedMetricBuilder
fn clone(&self) -> RdsDatabaseProjectedMetricBuilder
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 Default for RdsDatabaseProjectedMetricBuilder
impl Default for RdsDatabaseProjectedMetricBuilder
source§fn default() -> RdsDatabaseProjectedMetricBuilder
fn default() -> RdsDatabaseProjectedMetricBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RdsDatabaseProjectedMetricBuilder
impl PartialEq for RdsDatabaseProjectedMetricBuilder
source§fn eq(&self, other: &RdsDatabaseProjectedMetricBuilder) -> bool
fn eq(&self, other: &RdsDatabaseProjectedMetricBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RdsDatabaseProjectedMetricBuilder
Auto Trait Implementations§
impl Freeze for RdsDatabaseProjectedMetricBuilder
impl RefUnwindSafe for RdsDatabaseProjectedMetricBuilder
impl Send for RdsDatabaseProjectedMetricBuilder
impl Sync for RdsDatabaseProjectedMetricBuilder
impl Unpin for RdsDatabaseProjectedMetricBuilder
impl UnwindSafe for RdsDatabaseProjectedMetricBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.