Struct aws_sdk_computeoptimizer::types::builders::RdsDatabaseRecommendedOptionProjectedMetricBuilder
source · #[non_exhaustive]pub struct RdsDatabaseRecommendedOptionProjectedMetricBuilder { /* private fields */ }
Expand description
A builder for RdsDatabaseRecommendedOptionProjectedMetric
.
Implementations§
source§impl RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl RdsDatabaseRecommendedOptionProjectedMetricBuilder
sourcepub fn recommended_db_instance_class(self, input: impl Into<String>) -> Self
pub fn recommended_db_instance_class(self, input: impl Into<String>) -> Self
The recommended DB instance class for the Amazon RDS.
sourcepub fn set_recommended_db_instance_class(self, input: Option<String>) -> Self
pub fn set_recommended_db_instance_class(self, input: Option<String>) -> Self
The recommended DB instance class for the Amazon RDS.
sourcepub fn get_recommended_db_instance_class(&self) -> &Option<String>
pub fn get_recommended_db_instance_class(&self) -> &Option<String>
The recommended DB instance class for the Amazon RDS.
sourcepub fn rank(self, input: i32) -> Self
pub fn rank(self, input: i32) -> Self
The rank identifier of the RDS instance recommendation option.
sourcepub fn set_rank(self, input: Option<i32>) -> Self
pub fn set_rank(self, input: Option<i32>) -> Self
The rank identifier of the RDS instance recommendation option.
sourcepub fn get_rank(&self) -> &Option<i32>
pub fn get_rank(&self) -> &Option<i32>
The rank identifier of the RDS instance recommendation option.
sourcepub fn projected_metrics(self, input: RdsDatabaseProjectedMetric) -> Self
pub fn projected_metrics(self, input: RdsDatabaseProjectedMetric) -> Self
Appends an item to projected_metrics
.
To override the contents of this collection use set_projected_metrics
.
An array of objects that describe the projected metric.
sourcepub fn set_projected_metrics(
self,
input: Option<Vec<RdsDatabaseProjectedMetric>>,
) -> Self
pub fn set_projected_metrics( self, input: Option<Vec<RdsDatabaseProjectedMetric>>, ) -> Self
An array of objects that describe the projected metric.
sourcepub fn get_projected_metrics(&self) -> &Option<Vec<RdsDatabaseProjectedMetric>>
pub fn get_projected_metrics(&self) -> &Option<Vec<RdsDatabaseProjectedMetric>>
An array of objects that describe the projected metric.
sourcepub fn build(self) -> RdsDatabaseRecommendedOptionProjectedMetric
pub fn build(self) -> RdsDatabaseRecommendedOptionProjectedMetric
Consumes the builder and constructs a RdsDatabaseRecommendedOptionProjectedMetric
.
Trait Implementations§
source§impl Clone for RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl Clone for RdsDatabaseRecommendedOptionProjectedMetricBuilder
source§fn clone(&self) -> RdsDatabaseRecommendedOptionProjectedMetricBuilder
fn clone(&self) -> RdsDatabaseRecommendedOptionProjectedMetricBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl Default for RdsDatabaseRecommendedOptionProjectedMetricBuilder
source§fn default() -> RdsDatabaseRecommendedOptionProjectedMetricBuilder
fn default() -> RdsDatabaseRecommendedOptionProjectedMetricBuilder
source§impl PartialEq for RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl PartialEq for RdsDatabaseRecommendedOptionProjectedMetricBuilder
source§fn eq(&self, other: &RdsDatabaseRecommendedOptionProjectedMetricBuilder) -> bool
fn eq(&self, other: &RdsDatabaseRecommendedOptionProjectedMetricBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RdsDatabaseRecommendedOptionProjectedMetricBuilder
Auto Trait Implementations§
impl Freeze for RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl RefUnwindSafe for RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl Send for RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl Sync for RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl Unpin for RdsDatabaseRecommendedOptionProjectedMetricBuilder
impl UnwindSafe for RdsDatabaseRecommendedOptionProjectedMetricBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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