#[non_exhaustive]pub struct GetEc2RecommendationProjectedMetricsInput {
pub instance_arn: Option<String>,
pub stat: Option<MetricStatistic>,
pub period: i32,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub recommendation_preferences: Option<RecommendationPreferences>,
}
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.instance_arn: Option<String>
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
stat: Option<MetricStatistic>
The statistic of the projected metrics.
period: 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.
recommendation_preferences: Option<RecommendationPreferences>
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
Implementations
sourceimpl GetEc2RecommendationProjectedMetricsInput
impl GetEc2RecommendationProjectedMetricsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetEC2RecommendationProjectedMetrics, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetEC2RecommendationProjectedMetrics, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetEC2RecommendationProjectedMetrics
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetEc2RecommendationProjectedMetricsInput
sourceimpl 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 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.
Trait Implementations
sourceimpl Clone for GetEc2RecommendationProjectedMetricsInput
impl Clone for GetEc2RecommendationProjectedMetricsInput
sourcefn clone(&self) -> GetEc2RecommendationProjectedMetricsInput
fn clone(&self) -> GetEc2RecommendationProjectedMetricsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<GetEc2RecommendationProjectedMetricsInput> for GetEc2RecommendationProjectedMetricsInput
impl PartialEq<GetEc2RecommendationProjectedMetricsInput> for GetEc2RecommendationProjectedMetricsInput
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &GetEc2RecommendationProjectedMetricsInput) -> bool
fn ne(&self, other: &GetEc2RecommendationProjectedMetricsInput) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more