Struct aws_sdk_devopsguru::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 recommendations(self, input: Recommendation) -> Self
pub fn recommendations(self, input: Recommendation) -> Self
Appends an item to recommendations.
To override the contents of this collection use set_recommendations.
An array of the requested recommendations.
sourcepub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
pub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
An array of the requested recommendations.
sourcepub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
pub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
An array of the requested recommendations.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
sourcepub fn build(self) -> ListRecommendationsOutput
pub fn build(self) -> ListRecommendationsOutput
Consumes the builder and constructs a ListRecommendationsOutput.
Trait Implementations§
source§impl Clone for ListRecommendationsOutputBuilder
impl Clone for ListRecommendationsOutputBuilder
source§fn clone(&self) -> ListRecommendationsOutputBuilder
fn clone(&self) -> ListRecommendationsOutputBuilder
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 ListRecommendationsOutputBuilder
impl Default for ListRecommendationsOutputBuilder
source§fn default() -> ListRecommendationsOutputBuilder
fn default() -> ListRecommendationsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListRecommendationsOutputBuilder
impl PartialEq for ListRecommendationsOutputBuilder
source§fn eq(&self, other: &ListRecommendationsOutputBuilder) -> bool
fn eq(&self, other: &ListRecommendationsOutputBuilder) -> bool
This method tests for
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
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.