Struct aws_sdk_iot::model::SchedulingConfig
source · #[non_exhaustive]pub struct SchedulingConfig { /* private fields */ }
Expand description
Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group. Additionally, you can specify the end behavior for each job execution when it reaches the scheduled end time.
Implementations§
source§impl SchedulingConfig
impl SchedulingConfig
sourcepub fn start_time(&self) -> Option<&str>
pub fn start_time(&self) -> Option<&str>
The time a job will begin rollout of the job document to all devices in the target group for a job. The startTime
can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes from the current time.
sourcepub fn end_time(&self) -> Option<&str>
pub fn end_time(&self) -> Option<&str>
The time a job will stop rollout of the job document to all devices in the target group for a job. The endTime
must take place no later than two years from the current time and be scheduled a minimum of thirty minutes from the current time. The minimum duration between startTime
and endTime
is thirty minutes. The maximum duration between startTime
and endTime
is two years.
sourcepub fn end_behavior(&self) -> Option<&JobEndBehavior>
pub fn end_behavior(&self) -> Option<&JobEndBehavior>
Specifies the end behavior for all job executions after a job reaches the selected endTime
. If endTime
is not selected when creating the job, then endBehavior
does not apply.
source§impl SchedulingConfig
impl SchedulingConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SchedulingConfig
.
Trait Implementations§
source§impl Clone for SchedulingConfig
impl Clone for SchedulingConfig
source§fn clone(&self) -> SchedulingConfig
fn clone(&self) -> SchedulingConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SchedulingConfig
impl Debug for SchedulingConfig
source§impl PartialEq<SchedulingConfig> for SchedulingConfig
impl PartialEq<SchedulingConfig> for SchedulingConfig
source§fn eq(&self, other: &SchedulingConfig) -> bool
fn eq(&self, other: &SchedulingConfig) -> bool
self
and other
values to be equal, and is used
by ==
.