Struct aws_sdk_databrew::client::fluent_builders::UpdateSchedule
source · pub struct UpdateSchedule { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateSchedule
.
Modifies the definition of an existing DataBrew schedule.
Implementations§
source§impl UpdateSchedule
impl UpdateSchedule
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSchedule, AwsResponseRetryClassifier>, SdkError<UpdateScheduleError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSchedule, AwsResponseRetryClassifier>, SdkError<UpdateScheduleError>>
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<UpdateScheduleOutput, SdkError<UpdateScheduleError>>
pub async fn send(
self
) -> Result<UpdateScheduleOutput, SdkError<UpdateScheduleError>>
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 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.
Trait Implementations§
source§impl Clone for UpdateSchedule
impl Clone for UpdateSchedule
source§fn clone(&self) -> UpdateSchedule
fn clone(&self) -> UpdateSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more