Struct aws_sdk_computeoptimizer::operation::get_lambda_function_recommendations::builders::GetLambdaFunctionRecommendationsOutputBuilder
source · #[non_exhaustive]pub struct GetLambdaFunctionRecommendationsOutputBuilder { /* private fields */ }
Expand description
A builder for GetLambdaFunctionRecommendationsOutput
.
Implementations§
source§impl GetLambdaFunctionRecommendationsOutputBuilder
impl GetLambdaFunctionRecommendationsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to advance to the next page of function recommendations.
This value is null when there are no more pages of function recommendations to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to advance to the next page of function recommendations.
This value is null when there are no more pages of function recommendations to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to advance to the next page of function recommendations.
This value is null when there are no more pages of function recommendations to return.
sourcepub fn lambda_function_recommendations(
self,
input: LambdaFunctionRecommendation
) -> Self
pub fn lambda_function_recommendations( self, input: LambdaFunctionRecommendation ) -> Self
Appends an item to lambda_function_recommendations
.
To override the contents of this collection use set_lambda_function_recommendations
.
An array of objects that describe function recommendations.
sourcepub fn set_lambda_function_recommendations(
self,
input: Option<Vec<LambdaFunctionRecommendation>>
) -> Self
pub fn set_lambda_function_recommendations( self, input: Option<Vec<LambdaFunctionRecommendation>> ) -> Self
An array of objects that describe function recommendations.
sourcepub fn get_lambda_function_recommendations(
&self
) -> &Option<Vec<LambdaFunctionRecommendation>>
pub fn get_lambda_function_recommendations( &self ) -> &Option<Vec<LambdaFunctionRecommendation>>
An array of objects that describe function recommendations.
sourcepub fn build(self) -> GetLambdaFunctionRecommendationsOutput
pub fn build(self) -> GetLambdaFunctionRecommendationsOutput
Consumes the builder and constructs a GetLambdaFunctionRecommendationsOutput
.
Trait Implementations§
source§impl Clone for GetLambdaFunctionRecommendationsOutputBuilder
impl Clone for GetLambdaFunctionRecommendationsOutputBuilder
source§fn clone(&self) -> GetLambdaFunctionRecommendationsOutputBuilder
fn clone(&self) -> GetLambdaFunctionRecommendationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetLambdaFunctionRecommendationsOutputBuilder
impl Default for GetLambdaFunctionRecommendationsOutputBuilder
source§fn default() -> GetLambdaFunctionRecommendationsOutputBuilder
fn default() -> GetLambdaFunctionRecommendationsOutputBuilder
source§impl PartialEq for GetLambdaFunctionRecommendationsOutputBuilder
impl PartialEq for GetLambdaFunctionRecommendationsOutputBuilder
source§fn eq(&self, other: &GetLambdaFunctionRecommendationsOutputBuilder) -> bool
fn eq(&self, other: &GetLambdaFunctionRecommendationsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLambdaFunctionRecommendationsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetLambdaFunctionRecommendationsOutputBuilder
impl RefUnwindSafe for GetLambdaFunctionRecommendationsOutputBuilder
impl Send for GetLambdaFunctionRecommendationsOutputBuilder
impl Sync for GetLambdaFunctionRecommendationsOutputBuilder
impl Unpin for GetLambdaFunctionRecommendationsOutputBuilder
impl UnwindSafe for GetLambdaFunctionRecommendationsOutputBuilder
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> 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