Struct aws_sdk_databrew::input::create_schedule_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateScheduleInput
.
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.
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.
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Metadata tags to apply to this schedule.
Metadata tags to apply to this schedule.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
sourcepub fn build(self) -> Result<CreateScheduleInput, BuildError>
pub fn build(self) -> Result<CreateScheduleInput, BuildError>
Consumes the builder and constructs a CreateScheduleInput
.