Struct aws_sdk_databrew::input::update_schedule_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateScheduleInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn job_names(self, input: impl Into<String>) -> Self
pub fn job_names(self, input: impl Into<String>) -> Self
Appends an item to job_names
.
To override the contents of this collection use set_job_names
.
The name or names of one or more jobs to be run for this schedule.
sourcepub fn set_job_names(self, input: Option<Vec<String>>) -> Self
pub fn set_job_names(self, input: Option<Vec<String>>) -> Self
The name or names of one or more jobs to be run for this schedule.
sourcepub fn cron_expression(self, input: impl Into<String>) -> Self
pub fn cron_expression(self, input: impl Into<String>) -> Self
The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
sourcepub fn set_cron_expression(self, input: Option<String>) -> Self
pub fn set_cron_expression(self, input: Option<String>) -> Self
The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
sourcepub fn build(self) -> Result<UpdateScheduleInput, BuildError>
pub fn build(self) -> Result<UpdateScheduleInput, BuildError>
Consumes the builder and constructs a UpdateScheduleInput
.