#[non_exhaustive]pub struct CreateScheduleInputBuilder { /* private fields */ }
Expand description
A builder for CreateScheduleInput
.
Implementations§
source§impl CreateScheduleInputBuilder
impl CreateScheduleInputBuilder
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 get_job_names(&self) -> &Option<Vec<String>>
pub fn get_job_names(&self) -> &Option<Vec<String>>
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.
This field is required.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 get_cron_expression(&self) -> &Option<String>
pub fn get_cron_expression(&self) -> &Option<String>
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.
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.
This field is required.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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
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
.
source§impl CreateScheduleInputBuilder
impl CreateScheduleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateScheduleOutput, SdkError<CreateScheduleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateScheduleOutput, SdkError<CreateScheduleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateScheduleInputBuilder
impl Clone for CreateScheduleInputBuilder
source§fn clone(&self) -> CreateScheduleInputBuilder
fn clone(&self) -> CreateScheduleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateScheduleInputBuilder
impl Debug for CreateScheduleInputBuilder
source§impl Default for CreateScheduleInputBuilder
impl Default for CreateScheduleInputBuilder
source§fn default() -> CreateScheduleInputBuilder
fn default() -> CreateScheduleInputBuilder
source§impl PartialEq for CreateScheduleInputBuilder
impl PartialEq for CreateScheduleInputBuilder
source§fn eq(&self, other: &CreateScheduleInputBuilder) -> bool
fn eq(&self, other: &CreateScheduleInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.