Struct aws_sdk_codegurureviewer::operation::put_recommendation_feedback::builders::PutRecommendationFeedbackInputBuilder
source · #[non_exhaustive]pub struct PutRecommendationFeedbackInputBuilder { /* private fields */ }Expand description
A builder for PutRecommendationFeedbackInput.
Implementations§
source§impl PutRecommendationFeedbackInputBuilder
impl PutRecommendationFeedbackInputBuilder
sourcepub fn code_review_arn(self, input: impl Into<String>) -> Self
pub fn code_review_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the CodeReview object.
sourcepub fn set_code_review_arn(self, input: Option<String>) -> Self
pub fn set_code_review_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the CodeReview object.
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 and then 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 and then 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. If you send an empty list it clears all your feedback.
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. If you send an empty list it clears all your feedback.
sourcepub fn build(self) -> Result<PutRecommendationFeedbackInput, BuildError>
pub fn build(self) -> Result<PutRecommendationFeedbackInput, BuildError>
Consumes the builder and constructs a PutRecommendationFeedbackInput.
Trait Implementations§
source§impl Clone for PutRecommendationFeedbackInputBuilder
impl Clone for PutRecommendationFeedbackInputBuilder
source§fn clone(&self) -> PutRecommendationFeedbackInputBuilder
fn clone(&self) -> PutRecommendationFeedbackInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutRecommendationFeedbackInputBuilder
impl Default for PutRecommendationFeedbackInputBuilder
source§fn default() -> PutRecommendationFeedbackInputBuilder
fn default() -> PutRecommendationFeedbackInputBuilder
source§impl PartialEq<PutRecommendationFeedbackInputBuilder> for PutRecommendationFeedbackInputBuilder
impl PartialEq<PutRecommendationFeedbackInputBuilder> for PutRecommendationFeedbackInputBuilder
source§fn eq(&self, other: &PutRecommendationFeedbackInputBuilder) -> bool
fn eq(&self, other: &PutRecommendationFeedbackInputBuilder) -> bool
self and other values to be equal, and is used
by ==.