#[non_exhaustive]pub struct RecommendationFeedbackBuilder { /* private fields */ }
Expand description
A builder for RecommendationFeedback
.
Implementations§
source§impl RecommendationFeedbackBuilder
impl RecommendationFeedbackBuilder
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 get_code_review_arn(&self) -> &Option<String>
pub fn get_code_review_arn(&self) -> &Option<String>
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. 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. You can send an empty list to clear off 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. You can send an empty list to clear off all your feedback.
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. You can send an empty list to clear off all your feedback.
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 made the API call.
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 made the API call.
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 made the API call.
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 created_time_stamp(self, input: DateTime) -> Self
pub fn created_time_stamp(self, input: DateTime) -> Self
The time at which the feedback was created.
sourcepub fn set_created_time_stamp(self, input: Option<DateTime>) -> Self
pub fn set_created_time_stamp(self, input: Option<DateTime>) -> Self
The time at which the feedback was created.
sourcepub fn get_created_time_stamp(&self) -> &Option<DateTime>
pub fn get_created_time_stamp(&self) -> &Option<DateTime>
The time at which the feedback was created.
sourcepub fn last_updated_time_stamp(self, input: DateTime) -> Self
pub fn last_updated_time_stamp(self, input: DateTime) -> Self
The time at which the feedback was last updated.
sourcepub fn set_last_updated_time_stamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time_stamp(self, input: Option<DateTime>) -> Self
The time at which the feedback was last updated.
sourcepub fn get_last_updated_time_stamp(&self) -> &Option<DateTime>
pub fn get_last_updated_time_stamp(&self) -> &Option<DateTime>
The time at which the feedback was last updated.
sourcepub fn build(self) -> RecommendationFeedback
pub fn build(self) -> RecommendationFeedback
Consumes the builder and constructs a RecommendationFeedback
.
Trait Implementations§
source§impl Clone for RecommendationFeedbackBuilder
impl Clone for RecommendationFeedbackBuilder
source§fn clone(&self) -> RecommendationFeedbackBuilder
fn clone(&self) -> RecommendationFeedbackBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecommendationFeedbackBuilder
impl Default for RecommendationFeedbackBuilder
source§fn default() -> RecommendationFeedbackBuilder
fn default() -> RecommendationFeedbackBuilder
source§impl PartialEq for RecommendationFeedbackBuilder
impl PartialEq for RecommendationFeedbackBuilder
source§fn eq(&self, other: &RecommendationFeedbackBuilder) -> bool
fn eq(&self, other: &RecommendationFeedbackBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationFeedbackBuilder
Auto Trait Implementations§
impl Freeze for RecommendationFeedbackBuilder
impl RefUnwindSafe for RecommendationFeedbackBuilder
impl Send for RecommendationFeedbackBuilder
impl Sync for RecommendationFeedbackBuilder
impl Unpin for RecommendationFeedbackBuilder
impl UnwindSafe for RecommendationFeedbackBuilder
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