Struct aws_sdk_computeoptimizer::operation::get_rds_database_recommendation_projected_metrics::GetRdsDatabaseRecommendationProjectedMetricsInput
source · #[non_exhaustive]pub struct GetRdsDatabaseRecommendationProjectedMetricsInput {
pub resource_arn: Option<String>,
pub stat: Option<MetricStatistic>,
pub period: Option<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.resource_arn: Option<String>The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
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.
recommendation_preferences: Option<RecommendationPreferences>Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations, and GetRDSDatabaseRecommendationProjectedMetrics request.
Implementations§
source§impl GetRdsDatabaseRecommendationProjectedMetricsInput
impl GetRdsDatabaseRecommendationProjectedMetricsInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
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>
Describes the recommendation preferences to return in the response of a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations, GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations, and GetRDSDatabaseRecommendationProjectedMetrics request.
source§impl GetRdsDatabaseRecommendationProjectedMetricsInput
impl GetRdsDatabaseRecommendationProjectedMetricsInput
sourcepub fn builder() -> GetRdsDatabaseRecommendationProjectedMetricsInputBuilder
pub fn builder() -> GetRdsDatabaseRecommendationProjectedMetricsInputBuilder
Creates a new builder-style object to manufacture GetRdsDatabaseRecommendationProjectedMetricsInput.
Trait Implementations§
source§impl Clone for GetRdsDatabaseRecommendationProjectedMetricsInput
impl Clone for GetRdsDatabaseRecommendationProjectedMetricsInput
source§fn clone(&self) -> GetRdsDatabaseRecommendationProjectedMetricsInput
fn clone(&self) -> GetRdsDatabaseRecommendationProjectedMetricsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetRdsDatabaseRecommendationProjectedMetricsInput
impl PartialEq for GetRdsDatabaseRecommendationProjectedMetricsInput
source§fn eq(&self, other: &GetRdsDatabaseRecommendationProjectedMetricsInput) -> bool
fn eq(&self, other: &GetRdsDatabaseRecommendationProjectedMetricsInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetRdsDatabaseRecommendationProjectedMetricsInput
Auto Trait Implementations§
impl Freeze for GetRdsDatabaseRecommendationProjectedMetricsInput
impl RefUnwindSafe for GetRdsDatabaseRecommendationProjectedMetricsInput
impl Send for GetRdsDatabaseRecommendationProjectedMetricsInput
impl Sync for GetRdsDatabaseRecommendationProjectedMetricsInput
impl Unpin for GetRdsDatabaseRecommendationProjectedMetricsInput
impl UnwindSafe for GetRdsDatabaseRecommendationProjectedMetricsInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more