#[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 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 ECS service tasks. -
Memory
— The percentage of memory that is currently in use on the ECS 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() -> Builder
pub fn builder() -> Builder
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 ==
.