Struct aws_sdk_iot::types::builders::ExponentialRolloutRateBuilder
source · #[non_exhaustive]pub struct ExponentialRolloutRateBuilder { /* private fields */ }
Expand description
A builder for ExponentialRolloutRate
.
Implementations§
source§impl ExponentialRolloutRateBuilder
impl ExponentialRolloutRateBuilder
sourcepub fn base_rate_per_minute(self, input: i32) -> Self
pub fn base_rate_per_minute(self, input: i32) -> Self
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.
This field is required.sourcepub fn set_base_rate_per_minute(self, input: Option<i32>) -> Self
pub fn set_base_rate_per_minute(self, input: Option<i32>) -> Self
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 get_base_rate_per_minute(&self) -> &Option<i32>
pub fn get_base_rate_per_minute(&self) -> &Option<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, input: f64) -> Self
pub fn increment_factor(self, input: f64) -> Self
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).
This field is required.sourcepub fn set_increment_factor(self, input: Option<f64>) -> Self
pub fn set_increment_factor(self, input: Option<f64>) -> Self
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 get_increment_factor(&self) -> &Option<f64>
pub fn get_increment_factor(&self) -> &Option<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, input: RateIncreaseCriteria) -> Self
pub fn rate_increase_criteria(self, input: RateIncreaseCriteria) -> Self
The criteria to initiate the increase in rate of rollout for a job.
This field is required.sourcepub fn set_rate_increase_criteria(
self,
input: Option<RateIncreaseCriteria>
) -> Self
pub fn set_rate_increase_criteria( self, input: Option<RateIncreaseCriteria> ) -> Self
The criteria to initiate the increase in rate of rollout for a job.
sourcepub fn get_rate_increase_criteria(&self) -> &Option<RateIncreaseCriteria>
pub fn get_rate_increase_criteria(&self) -> &Option<RateIncreaseCriteria>
The criteria to initiate the increase in rate of rollout for a job.
sourcepub fn build(self) -> Result<ExponentialRolloutRate, BuildError>
pub fn build(self) -> Result<ExponentialRolloutRate, BuildError>
Consumes the builder and constructs a ExponentialRolloutRate
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ExponentialRolloutRateBuilder
impl Clone for ExponentialRolloutRateBuilder
source§fn clone(&self) -> ExponentialRolloutRateBuilder
fn clone(&self) -> ExponentialRolloutRateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ExponentialRolloutRateBuilder
impl Default for ExponentialRolloutRateBuilder
source§fn default() -> ExponentialRolloutRateBuilder
fn default() -> ExponentialRolloutRateBuilder
source§impl PartialEq for ExponentialRolloutRateBuilder
impl PartialEq for ExponentialRolloutRateBuilder
source§fn eq(&self, other: &ExponentialRolloutRateBuilder) -> bool
fn eq(&self, other: &ExponentialRolloutRateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.