Struct aws_sdk_trustedadvisor::operation::list_recommendations::builders::ListRecommendationsOutputBuilder
source · #[non_exhaustive]pub struct ListRecommendationsOutputBuilder { /* private fields */ }
Expand description
A builder for ListRecommendationsOutput
.
Implementations§
source§impl ListRecommendationsOutputBuilder
impl ListRecommendationsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn recommendation_summaries(self, input: RecommendationSummary) -> Self
pub fn recommendation_summaries(self, input: RecommendationSummary) -> Self
Appends an item to recommendation_summaries
.
To override the contents of this collection use set_recommendation_summaries
.
The list of Recommendations
sourcepub fn set_recommendation_summaries(
self,
input: Option<Vec<RecommendationSummary>>,
) -> Self
pub fn set_recommendation_summaries( self, input: Option<Vec<RecommendationSummary>>, ) -> Self
The list of Recommendations
sourcepub fn get_recommendation_summaries(
&self,
) -> &Option<Vec<RecommendationSummary>>
pub fn get_recommendation_summaries( &self, ) -> &Option<Vec<RecommendationSummary>>
The list of Recommendations
sourcepub fn build(self) -> Result<ListRecommendationsOutput, BuildError>
pub fn build(self) -> Result<ListRecommendationsOutput, BuildError>
Consumes the builder and constructs a ListRecommendationsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListRecommendationsOutputBuilder
impl Clone for ListRecommendationsOutputBuilder
source§fn clone(&self) -> ListRecommendationsOutputBuilder
fn clone(&self) -> ListRecommendationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListRecommendationsOutputBuilder
impl Default for ListRecommendationsOutputBuilder
source§fn default() -> ListRecommendationsOutputBuilder
fn default() -> ListRecommendationsOutputBuilder
source§impl PartialEq for ListRecommendationsOutputBuilder
impl PartialEq for ListRecommendationsOutputBuilder
source§fn eq(&self, other: &ListRecommendationsOutputBuilder) -> bool
fn eq(&self, other: &ListRecommendationsOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListRecommendationsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListRecommendationsOutputBuilder
impl RefUnwindSafe for ListRecommendationsOutputBuilder
impl Send for ListRecommendationsOutputBuilder
impl Sync for ListRecommendationsOutputBuilder
impl Unpin for ListRecommendationsOutputBuilder
impl UnwindSafe for ListRecommendationsOutputBuilder
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