Struct aws_sdk_computeoptimizer::operation::get_ecs_service_recommendation_projected_metrics::GetEcsServiceRecommendationProjectedMetricsInput
source · #[non_exhaustive]pub struct GetEcsServiceRecommendationProjectedMetricsInput { /* private fields */ }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.
source§impl GetEcsServiceRecommendationProjectedMetricsInput
impl GetEcsServiceRecommendationProjectedMetricsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetECSServiceRecommendationProjectedMetrics, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<GetECSServiceRecommendationProjectedMetrics, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetECSServiceRecommendationProjectedMetrics>
Trait Implementations§
source§impl Clone for GetEcsServiceRecommendationProjectedMetricsInput
impl Clone for GetEcsServiceRecommendationProjectedMetricsInput
source§fn clone(&self) -> GetEcsServiceRecommendationProjectedMetricsInput
fn clone(&self) -> GetEcsServiceRecommendationProjectedMetricsInput
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 PartialEq<GetEcsServiceRecommendationProjectedMetricsInput> for GetEcsServiceRecommendationProjectedMetricsInput
impl PartialEq<GetEcsServiceRecommendationProjectedMetricsInput> for GetEcsServiceRecommendationProjectedMetricsInput
source§fn eq(&self, other: &GetEcsServiceRecommendationProjectedMetricsInput) -> bool
fn eq(&self, other: &GetEcsServiceRecommendationProjectedMetricsInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetEcsServiceRecommendationProjectedMetricsInput
Auto Trait Implementations§
impl RefUnwindSafe for GetEcsServiceRecommendationProjectedMetricsInput
impl Send for GetEcsServiceRecommendationProjectedMetricsInput
impl Sync for GetEcsServiceRecommendationProjectedMetricsInput
impl Unpin for GetEcsServiceRecommendationProjectedMetricsInput
impl UnwindSafe for GetEcsServiceRecommendationProjectedMetricsInput
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