Struct aws_sdk_datasync::model::task_schedule::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TaskSchedule
.
Implementations§
source§impl Builder
impl Builder
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
.