Struct aws_sdk_codegurureviewer::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackInputBuilder
source · #[non_exhaustive]pub struct DescribeRecommendationFeedbackInputBuilder { /* private fields */ }Expand description
A builder for DescribeRecommendationFeedbackInput.
Implementations§
source§impl DescribeRecommendationFeedbackInputBuilder
impl DescribeRecommendationFeedbackInputBuilder
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.
This field is required.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 and then to collect the feedback.
This field is required.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 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 and then to collect the feedback.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request.
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
Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request.
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>
Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request.
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) -> Result<DescribeRecommendationFeedbackInput, BuildError>
pub fn build(self) -> Result<DescribeRecommendationFeedbackInput, BuildError>
Consumes the builder and constructs a DescribeRecommendationFeedbackInput.
source§impl DescribeRecommendationFeedbackInputBuilder
impl DescribeRecommendationFeedbackInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeRecommendationFeedbackOutput, SdkError<DescribeRecommendationFeedbackError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeRecommendationFeedbackOutput, SdkError<DescribeRecommendationFeedbackError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeRecommendationFeedbackInputBuilder
impl Clone for DescribeRecommendationFeedbackInputBuilder
source§fn clone(&self) -> DescribeRecommendationFeedbackInputBuilder
fn clone(&self) -> DescribeRecommendationFeedbackInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeRecommendationFeedbackInputBuilder
impl Default for DescribeRecommendationFeedbackInputBuilder
source§fn default() -> DescribeRecommendationFeedbackInputBuilder
fn default() -> DescribeRecommendationFeedbackInputBuilder
source§impl PartialEq for DescribeRecommendationFeedbackInputBuilder
impl PartialEq for DescribeRecommendationFeedbackInputBuilder
source§fn eq(&self, other: &DescribeRecommendationFeedbackInputBuilder) -> bool
fn eq(&self, other: &DescribeRecommendationFeedbackInputBuilder) -> bool
self and other values to be equal, and is used
by ==.