Struct aws_sdk_databrew::client::fluent_builders::CreateSchedule
source · pub struct CreateSchedule { /* 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 CreateSchedule
impl CreateSchedule
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateSchedule, AwsResponseRetryClassifier>, SdkError<CreateScheduleError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateSchedule, AwsResponseRetryClassifier>, SdkError<CreateScheduleError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateScheduleOutput, SdkError<CreateScheduleError>>
pub async fn send(
self
) -> Result<CreateScheduleOutput, SdkError<CreateScheduleError>>
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 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 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.
Trait Implementations§
source§impl Clone for CreateSchedule
impl Clone for CreateSchedule
source§fn clone(&self) -> CreateSchedule
fn clone(&self) -> CreateSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more