Struct aws_sdk_computeoptimizer::operation::get_ecs_service_recommendation_projected_metrics::GetEcsServiceRecommendationProjectedMetricsInput
source · #[non_exhaustive]pub struct GetEcsServiceRecommendationProjectedMetricsInput {
pub service_arn: Option<String>,
pub stat: Option<MetricStatistic>,
pub period: Option<i32>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.service_arn: Option<String>
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
stat: Option<MetricStatistic>
The statistic of the projected metrics.
period: Option<i32>
The granularity, in seconds, of the projected metrics data points.
start_time: Option<DateTime>
The timestamp of the first projected metrics data point to return.
end_time: Option<DateTime>
The timestamp of the last projected metrics data point to return.
Implementations§
source§impl GetEcsServiceRecommendationProjectedMetricsInput
impl GetEcsServiceRecommendationProjectedMetricsInput
sourcepub fn service_arn(&self) -> Option<&str>
pub fn service_arn(&self) -> Option<&str>
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
sourcepub fn stat(&self) -> Option<&MetricStatistic>
pub fn stat(&self) -> Option<&MetricStatistic>
The statistic of the projected metrics.
sourcepub fn period(&self) -> Option<i32>
pub fn period(&self) -> Option<i32>
The granularity, in seconds, of the projected metrics data points.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The timestamp of the first projected metrics data point to return.
source§impl GetEcsServiceRecommendationProjectedMetricsInput
impl GetEcsServiceRecommendationProjectedMetricsInput
sourcepub fn builder() -> GetEcsServiceRecommendationProjectedMetricsInputBuilder
pub fn builder() -> GetEcsServiceRecommendationProjectedMetricsInputBuilder
Creates a new builder-style object to manufacture GetEcsServiceRecommendationProjectedMetricsInput
.
Trait Implementations§
source§impl Clone for GetEcsServiceRecommendationProjectedMetricsInput
impl Clone for GetEcsServiceRecommendationProjectedMetricsInput
source§fn clone(&self) -> GetEcsServiceRecommendationProjectedMetricsInput
fn clone(&self) -> GetEcsServiceRecommendationProjectedMetricsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetEcsServiceRecommendationProjectedMetricsInput
impl PartialEq for GetEcsServiceRecommendationProjectedMetricsInput
source§fn eq(&self, other: &GetEcsServiceRecommendationProjectedMetricsInput) -> bool
fn eq(&self, other: &GetEcsServiceRecommendationProjectedMetricsInput) -> bool
self
and other
values to be equal, and is used
by ==
.