Struct aws_sdk_iot::model::scheduling_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SchedulingConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn start_time(self, input: impl Into<String>) -> Self
pub fn start_time(self, input: impl Into<String>) -> Self
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 set_start_time(self, input: Option<String>) -> Self
pub fn set_start_time(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn end_time(self, input: impl Into<String>) -> Self
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 set_end_time(self, input: Option<String>) -> Self
pub fn set_end_time(self, input: Option<String>) -> Self
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, input: JobEndBehavior) -> Self
pub fn end_behavior(self, input: JobEndBehavior) -> Self
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.
sourcepub fn set_end_behavior(self, input: Option<JobEndBehavior>) -> Self
pub fn set_end_behavior(self, input: Option<JobEndBehavior>) -> Self
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.
sourcepub fn build(self) -> SchedulingConfig
pub fn build(self) -> SchedulingConfig
Consumes the builder and constructs a SchedulingConfig
.