Struct aws_sdk_datasync::types::builders::TaskScheduleBuilder
source · #[non_exhaustive]pub struct TaskScheduleBuilder { /* private fields */ }
Expand description
A builder for TaskSchedule
.
Implementations§
source§impl TaskScheduleBuilder
impl TaskScheduleBuilder
sourcepub fn schedule_expression(self, input: impl Into<String>) -> Self
pub fn schedule_expression(self, input: impl Into<String>) -> Self
A cron expression that specifies when DataSync initiates a scheduled transfer from a source to a destination location.
sourcepub fn set_schedule_expression(self, input: Option<String>) -> Self
pub fn set_schedule_expression(self, input: Option<String>) -> Self
A cron expression that specifies when DataSync initiates a scheduled transfer from a source to a destination location.
sourcepub fn build(self) -> TaskSchedule
pub fn build(self) -> TaskSchedule
Consumes the builder and constructs a TaskSchedule
.
Trait Implementations§
source§impl Clone for TaskScheduleBuilder
impl Clone for TaskScheduleBuilder
source§fn clone(&self) -> TaskScheduleBuilder
fn clone(&self) -> TaskScheduleBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TaskScheduleBuilder
impl Debug for TaskScheduleBuilder
source§impl Default for TaskScheduleBuilder
impl Default for TaskScheduleBuilder
source§fn default() -> TaskScheduleBuilder
fn default() -> TaskScheduleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TaskScheduleBuilder> for TaskScheduleBuilder
impl PartialEq<TaskScheduleBuilder> for TaskScheduleBuilder
source§fn eq(&self, other: &TaskScheduleBuilder) -> bool
fn eq(&self, other: &TaskScheduleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.