#[non_exhaustive]pub struct RecommendationFeedbackSummaryBuilder { /* private fields */ }
Expand description
A builder for RecommendationFeedbackSummary
.
Implementations§
source§impl RecommendationFeedbackSummaryBuilder
impl RecommendationFeedbackSummaryBuilder
sourcepub fn recommendation_id(self, input: impl Into<String>) -> Self
pub fn recommendation_id(self, input: impl Into<String>) -> Self
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
sourcepub fn set_recommendation_id(self, input: Option<String>) -> Self
pub fn set_recommendation_id(self, input: Option<String>) -> Self
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
sourcepub fn get_recommendation_id(&self) -> &Option<String>
pub fn get_recommendation_id(&self) -> &Option<String>
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
sourcepub fn reactions(self, input: Reaction) -> Self
pub fn reactions(self, input: Reaction) -> Self
Appends an item to reactions
.
To override the contents of this collection use set_reactions
.
List for storing reactions. Reactions are utf-8 text code for emojis.
sourcepub fn set_reactions(self, input: Option<Vec<Reaction>>) -> Self
pub fn set_reactions(self, input: Option<Vec<Reaction>>) -> Self
List for storing reactions. Reactions are utf-8 text code for emojis.
sourcepub fn get_reactions(&self) -> &Option<Vec<Reaction>>
pub fn get_reactions(&self) -> &Option<Vec<Reaction>>
List for storing reactions. Reactions are utf-8 text code for emojis.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The ID of the user that gave the feedback.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The ID of the user that gave the feedback.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The ID of the user that gave the feedback.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
sourcepub fn build(self) -> RecommendationFeedbackSummary
pub fn build(self) -> RecommendationFeedbackSummary
Consumes the builder and constructs a RecommendationFeedbackSummary
.
Trait Implementations§
source§impl Clone for RecommendationFeedbackSummaryBuilder
impl Clone for RecommendationFeedbackSummaryBuilder
source§fn clone(&self) -> RecommendationFeedbackSummaryBuilder
fn clone(&self) -> RecommendationFeedbackSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecommendationFeedbackSummaryBuilder
impl Default for RecommendationFeedbackSummaryBuilder
source§fn default() -> RecommendationFeedbackSummaryBuilder
fn default() -> RecommendationFeedbackSummaryBuilder
source§impl PartialEq for RecommendationFeedbackSummaryBuilder
impl PartialEq for RecommendationFeedbackSummaryBuilder
source§fn eq(&self, other: &RecommendationFeedbackSummaryBuilder) -> bool
fn eq(&self, other: &RecommendationFeedbackSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationFeedbackSummaryBuilder
Auto Trait Implementations§
impl Freeze for RecommendationFeedbackSummaryBuilder
impl RefUnwindSafe for RecommendationFeedbackSummaryBuilder
impl Send for RecommendationFeedbackSummaryBuilder
impl Sync for RecommendationFeedbackSummaryBuilder
impl Unpin for RecommendationFeedbackSummaryBuilder
impl UnwindSafe for RecommendationFeedbackSummaryBuilder
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