Struct aws_sdk_codeguruprofiler::operation::submit_feedback::builders::SubmitFeedbackFluentBuilder
source · pub struct SubmitFeedbackFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to SubmitFeedback
.
Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.
Implementations§
source§impl SubmitFeedbackFluentBuilder
impl SubmitFeedbackFluentBuilder
sourcepub fn as_input(&self) -> &SubmitFeedbackInputBuilder
pub fn as_input(&self) -> &SubmitFeedbackInputBuilder
Access the SubmitFeedback as a reference.
sourcepub async fn send(
self
) -> Result<SubmitFeedbackOutput, SdkError<SubmitFeedbackError, HttpResponse>>
pub async fn send( self ) -> Result<SubmitFeedbackOutput, SdkError<SubmitFeedbackError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<SubmitFeedbackOutput, SubmitFeedbackError, Self>
pub fn customize( self ) -> CustomizableOperation<SubmitFeedbackOutput, SubmitFeedbackError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for SubmitFeedbackFluentBuilder
impl Clone for SubmitFeedbackFluentBuilder
source§fn clone(&self) -> SubmitFeedbackFluentBuilder
fn clone(&self) -> SubmitFeedbackFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for SubmitFeedbackFluentBuilder
impl !RefUnwindSafe for SubmitFeedbackFluentBuilder
impl Send for SubmitFeedbackFluentBuilder
impl Sync for SubmitFeedbackFluentBuilder
impl Unpin for SubmitFeedbackFluentBuilder
impl !UnwindSafe for SubmitFeedbackFluentBuilder
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