pub struct Builder { /* private fields */ }Expand description
A builder for RecommendationFeedbackSummary.
Implementations
sourceimpl Builder
impl Builder
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 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 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 build(self) -> RecommendationFeedbackSummary
pub fn build(self) -> RecommendationFeedbackSummary
Consumes the builder and constructs a RecommendationFeedbackSummary.