#[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
impl StructuralPartialEq for CreateScheduleInputBuilder
Auto Trait Implementations§
impl Freeze for CreateScheduleInputBuilder
impl RefUnwindSafe for CreateScheduleInputBuilder
impl Send for CreateScheduleInputBuilder
impl Sync for CreateScheduleInputBuilder
impl Unpin for CreateScheduleInputBuilder
impl UnwindSafe for CreateScheduleInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more