Struct aws_sdk_codeguruprofiler::operation::submit_feedback::builders::SubmitFeedbackInputBuilder
source · #[non_exhaustive]pub struct SubmitFeedbackInputBuilder { /* private fields */ }
Expand description
A builder for SubmitFeedbackInput
.
Implementations§
source§impl SubmitFeedbackInputBuilder
impl SubmitFeedbackInputBuilder
sourcepub fn profiling_group_name(self, input: impl Into<String>) -> Self
pub fn profiling_group_name(self, input: impl Into<String>) -> Self
The name of the profiling group that is associated with the analysis data.
sourcepub fn set_profiling_group_name(self, input: Option<String>) -> Self
pub fn set_profiling_group_name(self, input: Option<String>) -> Self
The name of the profiling group that is associated with the analysis data.
sourcepub fn anomaly_instance_id(self, input: impl Into<String>) -> Self
pub fn anomaly_instance_id(self, input: impl Into<String>) -> Self
The universally unique identifier (UUID) of the AnomalyInstance
object that is included in the analysis data.
sourcepub fn set_anomaly_instance_id(self, input: Option<String>) -> Self
pub fn set_anomaly_instance_id(self, input: Option<String>) -> Self
The universally unique identifier (UUID) of the AnomalyInstance
object that is included in the analysis data.
sourcepub fn type(self, input: FeedbackType) -> Self
pub fn type(self, input: FeedbackType) -> Self
The feedback tpye. Thee are two valid values, Positive
and Negative
.
sourcepub fn set_type(self, input: Option<FeedbackType>) -> Self
pub fn set_type(self, input: Option<FeedbackType>) -> Self
The feedback tpye. Thee are two valid values, Positive
and Negative
.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
Optional feedback about this anomaly.
sourcepub fn build(self) -> Result<SubmitFeedbackInput, BuildError>
pub fn build(self) -> Result<SubmitFeedbackInput, BuildError>
Consumes the builder and constructs a SubmitFeedbackInput
.
Trait Implementations§
source§impl Clone for SubmitFeedbackInputBuilder
impl Clone for SubmitFeedbackInputBuilder
source§fn clone(&self) -> SubmitFeedbackInputBuilder
fn clone(&self) -> SubmitFeedbackInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubmitFeedbackInputBuilder
impl Debug for SubmitFeedbackInputBuilder
source§impl Default for SubmitFeedbackInputBuilder
impl Default for SubmitFeedbackInputBuilder
source§fn default() -> SubmitFeedbackInputBuilder
fn default() -> SubmitFeedbackInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SubmitFeedbackInputBuilder> for SubmitFeedbackInputBuilder
impl PartialEq<SubmitFeedbackInputBuilder> for SubmitFeedbackInputBuilder
source§fn eq(&self, other: &SubmitFeedbackInputBuilder) -> bool
fn eq(&self, other: &SubmitFeedbackInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.