Struct aws_sdk_elasticbeanstalk::types::builders::LatencyBuilder
source · #[non_exhaustive]pub struct LatencyBuilder { /* private fields */ }
Expand description
A builder for Latency
.
Implementations§
source§impl LatencyBuilder
impl LatencyBuilder
sourcepub fn p999(self, input: f64) -> Self
pub fn p999(self, input: f64) -> Self
The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
sourcepub fn set_p999(self, input: Option<f64>) -> Self
pub fn set_p999(self, input: Option<f64>) -> Self
The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
sourcepub fn get_p999(&self) -> &Option<f64>
pub fn get_p999(&self) -> &Option<f64>
The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
sourcepub fn p99(self, input: f64) -> Self
pub fn p99(self, input: f64) -> Self
The average latency for the slowest 1 percent of requests over the last 10 seconds.
sourcepub fn set_p99(self, input: Option<f64>) -> Self
pub fn set_p99(self, input: Option<f64>) -> Self
The average latency for the slowest 1 percent of requests over the last 10 seconds.
sourcepub fn get_p99(&self) -> &Option<f64>
pub fn get_p99(&self) -> &Option<f64>
The average latency for the slowest 1 percent of requests over the last 10 seconds.
sourcepub fn p95(self, input: f64) -> Self
pub fn p95(self, input: f64) -> Self
The average latency for the slowest 5 percent of requests over the last 10 seconds.
sourcepub fn set_p95(self, input: Option<f64>) -> Self
pub fn set_p95(self, input: Option<f64>) -> Self
The average latency for the slowest 5 percent of requests over the last 10 seconds.
sourcepub fn get_p95(&self) -> &Option<f64>
pub fn get_p95(&self) -> &Option<f64>
The average latency for the slowest 5 percent of requests over the last 10 seconds.
sourcepub fn p90(self, input: f64) -> Self
pub fn p90(self, input: f64) -> Self
The average latency for the slowest 10 percent of requests over the last 10 seconds.
sourcepub fn set_p90(self, input: Option<f64>) -> Self
pub fn set_p90(self, input: Option<f64>) -> Self
The average latency for the slowest 10 percent of requests over the last 10 seconds.
sourcepub fn get_p90(&self) -> &Option<f64>
pub fn get_p90(&self) -> &Option<f64>
The average latency for the slowest 10 percent of requests over the last 10 seconds.
sourcepub fn p85(self, input: f64) -> Self
pub fn p85(self, input: f64) -> Self
The average latency for the slowest 15 percent of requests over the last 10 seconds.
sourcepub fn set_p85(self, input: Option<f64>) -> Self
pub fn set_p85(self, input: Option<f64>) -> Self
The average latency for the slowest 15 percent of requests over the last 10 seconds.
sourcepub fn get_p85(&self) -> &Option<f64>
pub fn get_p85(&self) -> &Option<f64>
The average latency for the slowest 15 percent of requests over the last 10 seconds.
sourcepub fn p75(self, input: f64) -> Self
pub fn p75(self, input: f64) -> Self
The average latency for the slowest 25 percent of requests over the last 10 seconds.
sourcepub fn set_p75(self, input: Option<f64>) -> Self
pub fn set_p75(self, input: Option<f64>) -> Self
The average latency for the slowest 25 percent of requests over the last 10 seconds.
sourcepub fn get_p75(&self) -> &Option<f64>
pub fn get_p75(&self) -> &Option<f64>
The average latency for the slowest 25 percent of requests over the last 10 seconds.
sourcepub fn p50(self, input: f64) -> Self
pub fn p50(self, input: f64) -> Self
The average latency for the slowest 50 percent of requests over the last 10 seconds.
sourcepub fn set_p50(self, input: Option<f64>) -> Self
pub fn set_p50(self, input: Option<f64>) -> Self
The average latency for the slowest 50 percent of requests over the last 10 seconds.
sourcepub fn get_p50(&self) -> &Option<f64>
pub fn get_p50(&self) -> &Option<f64>
The average latency for the slowest 50 percent of requests over the last 10 seconds.
sourcepub fn p10(self, input: f64) -> Self
pub fn p10(self, input: f64) -> Self
The average latency for the slowest 90 percent of requests over the last 10 seconds.
sourcepub fn set_p10(self, input: Option<f64>) -> Self
pub fn set_p10(self, input: Option<f64>) -> Self
The average latency for the slowest 90 percent of requests over the last 10 seconds.
Trait Implementations§
source§impl Clone for LatencyBuilder
impl Clone for LatencyBuilder
source§fn clone(&self) -> LatencyBuilder
fn clone(&self) -> LatencyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LatencyBuilder
impl Debug for LatencyBuilder
source§impl Default for LatencyBuilder
impl Default for LatencyBuilder
source§fn default() -> LatencyBuilder
fn default() -> LatencyBuilder
source§impl PartialEq for LatencyBuilder
impl PartialEq for LatencyBuilder
source§fn eq(&self, other: &LatencyBuilder) -> bool
fn eq(&self, other: &LatencyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LatencyBuilder
Auto Trait Implementations§
impl Freeze for LatencyBuilder
impl RefUnwindSafe for LatencyBuilder
impl Send for LatencyBuilder
impl Sync for LatencyBuilder
impl Unpin for LatencyBuilder
impl UnwindSafe for LatencyBuilder
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