Struct aws_sdk_scheduler::model::schedule_summary::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ScheduleSummary.
Implementations§
source§impl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the schedule.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the schedule.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the schedule group associated with this schedule.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the schedule group associated with this schedule.
sourcepub fn state(self, input: ScheduleState) -> Self
pub fn state(self, input: ScheduleState) -> Self
Specifies whether the schedule is enabled or disabled.
sourcepub fn set_state(self, input: Option<ScheduleState>) -> Self
pub fn set_state(self, input: Option<ScheduleState>) -> Self
Specifies whether the schedule is enabled or disabled.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The time at which the schedule was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The time at which the schedule was created.
sourcepub fn last_modification_date(self, input: DateTime) -> Self
pub fn last_modification_date(self, input: DateTime) -> Self
The time at which the schedule was last modified.
sourcepub fn set_last_modification_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modification_date(self, input: Option<DateTime>) -> Self
The time at which the schedule was last modified.
sourcepub fn target(self, input: TargetSummary) -> Self
pub fn target(self, input: TargetSummary) -> Self
The schedule's target details.
sourcepub fn set_target(self, input: Option<TargetSummary>) -> Self
pub fn set_target(self, input: Option<TargetSummary>) -> Self
The schedule's target details.
sourcepub fn build(self) -> ScheduleSummary
pub fn build(self) -> ScheduleSummary
Consumes the builder and constructs a ScheduleSummary.