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 get_profiling_group_name(&self) -> &Option<String>
pub fn get_profiling_group_name(&self) -> &Option<String>
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 get_anomaly_instance_id(&self) -> &Option<String>
pub fn get_anomaly_instance_id(&self) -> &Option<String>
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 get_type(&self) -> &Option<FeedbackType>
pub fn get_type(&self) -> &Option<FeedbackType>
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 get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
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
.
source§impl SubmitFeedbackInputBuilder
impl SubmitFeedbackInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SubmitFeedbackOutput, SdkError<SubmitFeedbackError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SubmitFeedbackOutput, SdkError<SubmitFeedbackError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SubmitFeedbackInputBuilder
impl Clone for SubmitFeedbackInputBuilder
source§fn clone(&self) -> SubmitFeedbackInputBuilder
fn clone(&self) -> SubmitFeedbackInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq<SubmitFeedbackInputBuilder> for SubmitFeedbackInputBuilder
impl PartialEq<SubmitFeedbackInputBuilder> for SubmitFeedbackInputBuilder
source§fn eq(&self, other: &SubmitFeedbackInputBuilder) -> bool
fn eq(&self, other: &SubmitFeedbackInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.