Struct aws_sdk_computeoptimizer::operation::get_ec2_recommendation_projected_metrics::builders::GetEc2RecommendationProjectedMetricsOutputBuilder
source · #[non_exhaustive]pub struct GetEc2RecommendationProjectedMetricsOutputBuilder { /* private fields */ }
Expand description
A builder for GetEc2RecommendationProjectedMetricsOutput
.
Implementations§
source§impl GetEc2RecommendationProjectedMetricsOutputBuilder
impl GetEc2RecommendationProjectedMetricsOutputBuilder
sourcepub fn recommended_option_projected_metrics(
self,
input: RecommendedOptionProjectedMetric
) -> Self
pub fn recommended_option_projected_metrics( self, input: RecommendedOptionProjectedMetric ) -> Self
Appends an item to recommended_option_projected_metrics
.
To override the contents of this collection use set_recommended_option_projected_metrics
.
An array of objects that describes projected metrics.
sourcepub fn set_recommended_option_projected_metrics(
self,
input: Option<Vec<RecommendedOptionProjectedMetric>>
) -> Self
pub fn set_recommended_option_projected_metrics( self, input: Option<Vec<RecommendedOptionProjectedMetric>> ) -> Self
An array of objects that describes projected metrics.
sourcepub fn get_recommended_option_projected_metrics(
&self
) -> &Option<Vec<RecommendedOptionProjectedMetric>>
pub fn get_recommended_option_projected_metrics( &self ) -> &Option<Vec<RecommendedOptionProjectedMetric>>
An array of objects that describes projected metrics.
sourcepub fn build(self) -> GetEc2RecommendationProjectedMetricsOutput
pub fn build(self) -> GetEc2RecommendationProjectedMetricsOutput
Consumes the builder and constructs a GetEc2RecommendationProjectedMetricsOutput
.
Trait Implementations§
source§impl Clone for GetEc2RecommendationProjectedMetricsOutputBuilder
impl Clone for GetEc2RecommendationProjectedMetricsOutputBuilder
source§fn clone(&self) -> GetEc2RecommendationProjectedMetricsOutputBuilder
fn clone(&self) -> GetEc2RecommendationProjectedMetricsOutputBuilder
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 Default for GetEc2RecommendationProjectedMetricsOutputBuilder
impl Default for GetEc2RecommendationProjectedMetricsOutputBuilder
source§fn default() -> GetEc2RecommendationProjectedMetricsOutputBuilder
fn default() -> GetEc2RecommendationProjectedMetricsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetEc2RecommendationProjectedMetricsOutputBuilder
impl PartialEq for GetEc2RecommendationProjectedMetricsOutputBuilder
source§fn eq(&self, other: &GetEc2RecommendationProjectedMetricsOutputBuilder) -> bool
fn eq(&self, other: &GetEc2RecommendationProjectedMetricsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetEc2RecommendationProjectedMetricsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetEc2RecommendationProjectedMetricsOutputBuilder
impl Send for GetEc2RecommendationProjectedMetricsOutputBuilder
impl Sync for GetEc2RecommendationProjectedMetricsOutputBuilder
impl Unpin for GetEc2RecommendationProjectedMetricsOutputBuilder
impl UnwindSafe for GetEc2RecommendationProjectedMetricsOutputBuilder
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
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>
Creates a shared type from an unshared type.