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.
This field is required.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 for SubmitFeedbackInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for SubmitFeedbackInputBuilder
Auto Trait Implementations§
impl Freeze for SubmitFeedbackInputBuilder
impl RefUnwindSafe for SubmitFeedbackInputBuilder
impl Send for SubmitFeedbackInputBuilder
impl Sync for SubmitFeedbackInputBuilder
impl Unpin for SubmitFeedbackInputBuilder
impl UnwindSafe for SubmitFeedbackInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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