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 ==
.impl StructuralPartialEq for ExponentialRolloutRateBuilder
Auto Trait Implementations§
impl Freeze for ExponentialRolloutRateBuilder
impl RefUnwindSafe for ExponentialRolloutRateBuilder
impl Send for ExponentialRolloutRateBuilder
impl Sync for ExponentialRolloutRateBuilder
impl Unpin for ExponentialRolloutRateBuilder
impl UnwindSafe for ExponentialRolloutRateBuilder
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