Struct aws_sdk_codeguruprofiler::types::builders::MatchBuilder
source · #[non_exhaustive]pub struct MatchBuilder { /* private fields */ }
Expand description
A builder for Match
.
Implementations§
source§impl MatchBuilder
impl MatchBuilder
sourcepub fn target_frames_index(self, input: i32) -> Self
pub fn target_frames_index(self, input: i32) -> Self
The target frame that triggered a match.
sourcepub fn set_target_frames_index(self, input: Option<i32>) -> Self
pub fn set_target_frames_index(self, input: Option<i32>) -> Self
The target frame that triggered a match.
sourcepub fn get_target_frames_index(&self) -> &Option<i32>
pub fn get_target_frames_index(&self) -> &Option<i32>
The target frame that triggered a match.
sourcepub fn frame_address(self, input: impl Into<String>) -> Self
pub fn frame_address(self, input: impl Into<String>) -> Self
The location in the profiling graph that contains a recommendation found during analysis.
sourcepub fn set_frame_address(self, input: Option<String>) -> Self
pub fn set_frame_address(self, input: Option<String>) -> Self
The location in the profiling graph that contains a recommendation found during analysis.
sourcepub fn get_frame_address(&self) -> &Option<String>
pub fn get_frame_address(&self) -> &Option<String>
The location in the profiling graph that contains a recommendation found during analysis.
sourcepub fn threshold_breach_value(self, input: f64) -> Self
pub fn threshold_breach_value(self, input: f64) -> Self
The value in the profile data that exceeded the recommendation threshold.
sourcepub fn set_threshold_breach_value(self, input: Option<f64>) -> Self
pub fn set_threshold_breach_value(self, input: Option<f64>) -> Self
The value in the profile data that exceeded the recommendation threshold.
sourcepub fn get_threshold_breach_value(&self) -> &Option<f64>
pub fn get_threshold_breach_value(&self) -> &Option<f64>
The value in the profile data that exceeded the recommendation threshold.
Trait Implementations§
source§impl Clone for MatchBuilder
impl Clone for MatchBuilder
source§fn clone(&self) -> MatchBuilder
fn clone(&self) -> MatchBuilder
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 MatchBuilder
impl Debug for MatchBuilder
source§impl Default for MatchBuilder
impl Default for MatchBuilder
source§fn default() -> MatchBuilder
fn default() -> MatchBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MatchBuilder
impl PartialEq for MatchBuilder
source§fn eq(&self, other: &MatchBuilder) -> bool
fn eq(&self, other: &MatchBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MatchBuilder
Auto Trait Implementations§
impl Freeze for MatchBuilder
impl RefUnwindSafe for MatchBuilder
impl Send for MatchBuilder
impl Sync for MatchBuilder
impl Unpin for MatchBuilder
impl UnwindSafe for MatchBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.