Struct aws_sdk_iot::types::ExponentialRolloutRate
source · #[non_exhaustive]pub struct ExponentialRolloutRate {
pub base_rate_per_minute: i32,
pub increment_factor: f64,
pub rate_increase_criteria: Option<RateIncreaseCriteria>,
}
Expand description
Allows you to create an exponential rate of rollout for a job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.base_rate_per_minute: i32
The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout.
increment_factor: f64
The exponential factor to increase the rate of rollout for a job.
Amazon Web Services IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).
rate_increase_criteria: Option<RateIncreaseCriteria>
The criteria to initiate the increase in rate of rollout for a job.
Implementations§
source§impl ExponentialRolloutRate
impl ExponentialRolloutRate
sourcepub fn base_rate_per_minute(&self) -> i32
pub fn base_rate_per_minute(&self) -> i32
The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout.
sourcepub fn increment_factor(&self) -> f64
pub fn increment_factor(&self) -> f64
The exponential factor to increase the rate of rollout for a job.
Amazon Web Services IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).
sourcepub fn rate_increase_criteria(&self) -> Option<&RateIncreaseCriteria>
pub fn rate_increase_criteria(&self) -> Option<&RateIncreaseCriteria>
The criteria to initiate the increase in rate of rollout for a job.
source§impl ExponentialRolloutRate
impl ExponentialRolloutRate
sourcepub fn builder() -> ExponentialRolloutRateBuilder
pub fn builder() -> ExponentialRolloutRateBuilder
Creates a new builder-style object to manufacture ExponentialRolloutRate
.
Trait Implementations§
source§impl Clone for ExponentialRolloutRate
impl Clone for ExponentialRolloutRate
source§fn clone(&self) -> ExponentialRolloutRate
fn clone(&self) -> ExponentialRolloutRate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExponentialRolloutRate
impl Debug for ExponentialRolloutRate
source§impl PartialEq for ExponentialRolloutRate
impl PartialEq for ExponentialRolloutRate
source§fn eq(&self, other: &ExponentialRolloutRate) -> bool
fn eq(&self, other: &ExponentialRolloutRate) -> bool
self
and other
values to be equal, and is used
by ==
.