Struct aws_sdk_glue::model::schedule::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Schedule.
Implementations§
source§impl Builder
impl Builder
sourcepub fn schedule_expression(self, input: impl Into<String>) -> Self
pub fn schedule_expression(self, input: impl Into<String>) -> Self
A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
sourcepub fn set_schedule_expression(self, input: Option<String>) -> Self
pub fn set_schedule_expression(self, input: Option<String>) -> Self
A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
sourcepub fn state(self, input: ScheduleState) -> Self
pub fn state(self, input: ScheduleState) -> Self
The state of the schedule.
sourcepub fn set_state(self, input: Option<ScheduleState>) -> Self
pub fn set_state(self, input: Option<ScheduleState>) -> Self
The state of the schedule.