Struct aws_sdk_sesv2::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
.
The recommendations applicable to your account.
sourcepub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
pub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
The recommendations applicable to your account.
sourcepub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
pub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
The recommendations applicable to your account.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A string token indicating that there might be additional recommendations available to be listed. Use the token provided in the ListRecommendationsResponse
to use in the subsequent call to ListRecommendations
with the same parameters to retrieve the next page of recommendations.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A string token indicating that there might be additional recommendations available to be listed. Use the token provided in the ListRecommendationsResponse
to use in the subsequent call to ListRecommendations
with the same parameters to retrieve the next page of recommendations.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A string token indicating that there might be additional recommendations available to be listed. Use the token provided in the ListRecommendationsResponse
to use in the subsequent call to ListRecommendations
with the same parameters to retrieve the next page of recommendations.
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
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> 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