Struct aws_sdk_computeoptimizer::types::builders::LambdaEffectiveRecommendationPreferencesBuilder
source · #[non_exhaustive]pub struct LambdaEffectiveRecommendationPreferencesBuilder { /* private fields */ }
Expand description
A builder for LambdaEffectiveRecommendationPreferences
.
Implementations§
source§impl LambdaEffectiveRecommendationPreferencesBuilder
impl LambdaEffectiveRecommendationPreferencesBuilder
sourcepub fn savings_estimation_mode(self, input: LambdaSavingsEstimationMode) -> Self
pub fn savings_estimation_mode(self, input: LambdaSavingsEstimationMode) -> Self
Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.
sourcepub fn set_savings_estimation_mode(
self,
input: Option<LambdaSavingsEstimationMode>
) -> Self
pub fn set_savings_estimation_mode( self, input: Option<LambdaSavingsEstimationMode> ) -> Self
Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.
sourcepub fn get_savings_estimation_mode(
&self
) -> &Option<LambdaSavingsEstimationMode>
pub fn get_savings_estimation_mode( &self ) -> &Option<LambdaSavingsEstimationMode>
Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.
sourcepub fn build(self) -> LambdaEffectiveRecommendationPreferences
pub fn build(self) -> LambdaEffectiveRecommendationPreferences
Consumes the builder and constructs a LambdaEffectiveRecommendationPreferences
.
Trait Implementations§
source§impl Clone for LambdaEffectiveRecommendationPreferencesBuilder
impl Clone for LambdaEffectiveRecommendationPreferencesBuilder
source§fn clone(&self) -> LambdaEffectiveRecommendationPreferencesBuilder
fn clone(&self) -> LambdaEffectiveRecommendationPreferencesBuilder
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 LambdaEffectiveRecommendationPreferencesBuilder
impl Default for LambdaEffectiveRecommendationPreferencesBuilder
source§fn default() -> LambdaEffectiveRecommendationPreferencesBuilder
fn default() -> LambdaEffectiveRecommendationPreferencesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LambdaEffectiveRecommendationPreferencesBuilder
impl PartialEq for LambdaEffectiveRecommendationPreferencesBuilder
source§fn eq(&self, other: &LambdaEffectiveRecommendationPreferencesBuilder) -> bool
fn eq(&self, other: &LambdaEffectiveRecommendationPreferencesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LambdaEffectiveRecommendationPreferencesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LambdaEffectiveRecommendationPreferencesBuilder
impl Send for LambdaEffectiveRecommendationPreferencesBuilder
impl Sync for LambdaEffectiveRecommendationPreferencesBuilder
impl Unpin for LambdaEffectiveRecommendationPreferencesBuilder
impl UnwindSafe for LambdaEffectiveRecommendationPreferencesBuilder
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.