pub struct CreateScheduleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSchedule
.
Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific date and time, or at regular intervals.
Implementations§
source§impl CreateScheduleFluentBuilder
impl CreateScheduleFluentBuilder
sourcepub fn as_input(&self) -> &CreateScheduleInputBuilder
pub fn as_input(&self) -> &CreateScheduleInputBuilder
Access the CreateSchedule as a reference.
sourcepub async fn send(
self
) -> Result<CreateScheduleOutput, SdkError<CreateScheduleError, HttpResponse>>
pub async fn send( self ) -> Result<CreateScheduleOutput, SdkError<CreateScheduleError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateScheduleOutput, CreateScheduleError>, SdkError<CreateScheduleError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateScheduleOutput, CreateScheduleError>, SdkError<CreateScheduleError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn job_names(self, input: impl Into<String>) -> Self
pub fn job_names(self, input: impl Into<String>) -> Self
Appends an item to JobNames
.
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.
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.
Trait Implementations§
source§impl Clone for CreateScheduleFluentBuilder
impl Clone for CreateScheduleFluentBuilder
source§fn clone(&self) -> CreateScheduleFluentBuilder
fn clone(&self) -> CreateScheduleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more