#[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 ==
.