Struct aws_sdk_computeoptimizer::operation::get_ec2_recommendation_projected_metrics::GetEc2RecommendationProjectedMetricsInput
source · #[non_exhaustive]pub struct GetEc2RecommendationProjectedMetricsInput { /* private fields */ }Implementations§
source§impl GetEc2RecommendationProjectedMetricsInput
impl GetEc2RecommendationProjectedMetricsInput
sourcepub fn instance_arn(&self) -> Option<&str>
pub fn instance_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
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.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The timestamp of the last projected metrics data point to return.
sourcepub fn recommendation_preferences(&self) -> Option<&RecommendationPreferences>
pub fn recommendation_preferences(&self) -> Option<&RecommendationPreferences>
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
source§impl GetEc2RecommendationProjectedMetricsInput
impl GetEc2RecommendationProjectedMetricsInput
sourcepub fn builder() -> GetEc2RecommendationProjectedMetricsInputBuilder
pub fn builder() -> GetEc2RecommendationProjectedMetricsInputBuilder
Creates a new builder-style object to manufacture GetEc2RecommendationProjectedMetricsInput.
source§impl GetEc2RecommendationProjectedMetricsInput
impl GetEc2RecommendationProjectedMetricsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetEC2RecommendationProjectedMetrics, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<GetEC2RecommendationProjectedMetrics, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetEC2RecommendationProjectedMetrics>
Trait Implementations§
source§impl Clone for GetEc2RecommendationProjectedMetricsInput
impl Clone for GetEc2RecommendationProjectedMetricsInput
source§fn clone(&self) -> GetEc2RecommendationProjectedMetricsInput
fn clone(&self) -> GetEc2RecommendationProjectedMetricsInput
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<GetEc2RecommendationProjectedMetricsInput> for GetEc2RecommendationProjectedMetricsInput
impl PartialEq<GetEc2RecommendationProjectedMetricsInput> for GetEc2RecommendationProjectedMetricsInput
source§fn eq(&self, other: &GetEc2RecommendationProjectedMetricsInput) -> bool
fn eq(&self, other: &GetEc2RecommendationProjectedMetricsInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetEc2RecommendationProjectedMetricsInput
Auto Trait Implementations§
impl RefUnwindSafe for GetEc2RecommendationProjectedMetricsInput
impl Send for GetEc2RecommendationProjectedMetricsInput
impl Sync for GetEc2RecommendationProjectedMetricsInput
impl Unpin for GetEc2RecommendationProjectedMetricsInput
impl UnwindSafe for GetEc2RecommendationProjectedMetricsInput
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