#[non_exhaustive]pub struct PutFeedbackOutputBuilder { /* private fields */ }Expand description
A builder for PutFeedbackOutput.
Implementations§
source§impl PutFeedbackOutputBuilder
impl PutFeedbackOutputBuilder
sourcepub fn assistant_id(self, input: impl Into<String>) -> Self
pub fn assistant_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Q assistant.
This field is required.sourcepub fn set_assistant_id(self, input: Option<String>) -> Self
pub fn set_assistant_id(self, input: Option<String>) -> Self
The identifier of the Amazon Q assistant.
sourcepub fn get_assistant_id(&self) -> &Option<String>
pub fn get_assistant_id(&self) -> &Option<String>
The identifier of the Amazon Q assistant.
sourcepub fn assistant_arn(self, input: impl Into<String>) -> Self
pub fn assistant_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Q assistant.
This field is required.sourcepub fn set_assistant_arn(self, input: Option<String>) -> Self
pub fn set_assistant_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Q assistant.
sourcepub fn get_assistant_arn(&self) -> &Option<String>
pub fn get_assistant_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon Q assistant.
sourcepub fn target_id(self, input: impl Into<String>) -> Self
pub fn target_id(self, input: impl Into<String>) -> Self
The identifier of the feedback target.
This field is required.sourcepub fn set_target_id(self, input: Option<String>) -> Self
pub fn set_target_id(self, input: Option<String>) -> Self
The identifier of the feedback target.
sourcepub fn get_target_id(&self) -> &Option<String>
pub fn get_target_id(&self) -> &Option<String>
The identifier of the feedback target.
sourcepub fn target_type(self, input: TargetType) -> Self
pub fn target_type(self, input: TargetType) -> Self
The type of the feedback target.
This field is required.sourcepub fn set_target_type(self, input: Option<TargetType>) -> Self
pub fn set_target_type(self, input: Option<TargetType>) -> Self
The type of the feedback target.
sourcepub fn get_target_type(&self) -> &Option<TargetType>
pub fn get_target_type(&self) -> &Option<TargetType>
The type of the feedback target.
sourcepub fn content_feedback(self, input: ContentFeedbackData) -> Self
pub fn content_feedback(self, input: ContentFeedbackData) -> Self
Information about the feedback provided.
This field is required.sourcepub fn set_content_feedback(self, input: Option<ContentFeedbackData>) -> Self
pub fn set_content_feedback(self, input: Option<ContentFeedbackData>) -> Self
Information about the feedback provided.
sourcepub fn get_content_feedback(&self) -> &Option<ContentFeedbackData>
pub fn get_content_feedback(&self) -> &Option<ContentFeedbackData>
Information about the feedback provided.
sourcepub fn build(self) -> Result<PutFeedbackOutput, BuildError>
pub fn build(self) -> Result<PutFeedbackOutput, BuildError>
Consumes the builder and constructs a PutFeedbackOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PutFeedbackOutputBuilder
impl Clone for PutFeedbackOutputBuilder
source§fn clone(&self) -> PutFeedbackOutputBuilder
fn clone(&self) -> PutFeedbackOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutFeedbackOutputBuilder
impl Debug for PutFeedbackOutputBuilder
source§impl Default for PutFeedbackOutputBuilder
impl Default for PutFeedbackOutputBuilder
source§fn default() -> PutFeedbackOutputBuilder
fn default() -> PutFeedbackOutputBuilder
source§impl PartialEq for PutFeedbackOutputBuilder
impl PartialEq for PutFeedbackOutputBuilder
source§fn eq(&self, other: &PutFeedbackOutputBuilder) -> bool
fn eq(&self, other: &PutFeedbackOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.