#[non_exhaustive]pub struct EcsServiceProjectedMetric { /* private fields */ }
Expand description
Describes the projected metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current Amazon ECS service and the recommended option, compare the metric data of your service against its projected metric data.
Implementations§
source§impl EcsServiceProjectedMetric
impl EcsServiceProjectedMetric
sourcepub fn name(&self) -> Option<&EcsServiceMetricName>
pub fn name(&self) -> Option<&EcsServiceMetricName>
The name of the projected metric.
The following metrics are available:
-
Cpu
— The percentage of allocated compute units that are currently in use on the service tasks. -
Memory
— The percentage of memory that's currently in use on the service tasks.
sourcepub fn timestamps(&self) -> Option<&[DateTime]>
pub fn timestamps(&self) -> Option<&[DateTime]>
The timestamps of the projected metric.
sourcepub fn upper_bound_values(&self) -> Option<&[f64]>
pub fn upper_bound_values(&self) -> Option<&[f64]>
The upper bound values for the projected metric.
sourcepub fn lower_bound_values(&self) -> Option<&[f64]>
pub fn lower_bound_values(&self) -> Option<&[f64]>
The lower bound values for the projected metric.
source§impl EcsServiceProjectedMetric
impl EcsServiceProjectedMetric
sourcepub fn builder() -> EcsServiceProjectedMetricBuilder
pub fn builder() -> EcsServiceProjectedMetricBuilder
Creates a new builder-style object to manufacture EcsServiceProjectedMetric
.
Trait Implementations§
source§impl Clone for EcsServiceProjectedMetric
impl Clone for EcsServiceProjectedMetric
source§fn clone(&self) -> EcsServiceProjectedMetric
fn clone(&self) -> EcsServiceProjectedMetric
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 EcsServiceProjectedMetric
impl Debug for EcsServiceProjectedMetric
source§impl PartialEq<EcsServiceProjectedMetric> for EcsServiceProjectedMetric
impl PartialEq<EcsServiceProjectedMetric> for EcsServiceProjectedMetric
source§fn eq(&self, other: &EcsServiceProjectedMetric) -> bool
fn eq(&self, other: &EcsServiceProjectedMetric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EcsServiceProjectedMetric
Auto Trait Implementations§
impl RefUnwindSafe for EcsServiceProjectedMetric
impl Send for EcsServiceProjectedMetric
impl Sync for EcsServiceProjectedMetric
impl Unpin for EcsServiceProjectedMetric
impl UnwindSafe for EcsServiceProjectedMetric
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