Struct aws_sdk_scheduler::types::builders::ScheduleSummaryBuilder
source · #[non_exhaustive]pub struct ScheduleSummaryBuilder { /* private fields */ }Expand description
A builder for ScheduleSummary.
Implementations§
source§impl ScheduleSummaryBuilder
impl ScheduleSummaryBuilder
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 get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
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 get_state(&self) -> &Option<ScheduleState>
pub fn get_state(&self) -> &Option<ScheduleState>
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 get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
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 get_last_modification_date(&self) -> &Option<DateTime>
pub fn get_last_modification_date(&self) -> &Option<DateTime>
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 get_target(&self) -> &Option<TargetSummary>
pub fn get_target(&self) -> &Option<TargetSummary>
The schedule's target details.
sourcepub fn build(self) -> ScheduleSummary
pub fn build(self) -> ScheduleSummary
Consumes the builder and constructs a ScheduleSummary.
Trait Implementations§
source§impl Clone for ScheduleSummaryBuilder
impl Clone for ScheduleSummaryBuilder
source§fn clone(&self) -> ScheduleSummaryBuilder
fn clone(&self) -> ScheduleSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ScheduleSummaryBuilder
impl Debug for ScheduleSummaryBuilder
source§impl Default for ScheduleSummaryBuilder
impl Default for ScheduleSummaryBuilder
source§fn default() -> ScheduleSummaryBuilder
fn default() -> ScheduleSummaryBuilder
source§impl PartialEq<ScheduleSummaryBuilder> for ScheduleSummaryBuilder
impl PartialEq<ScheduleSummaryBuilder> for ScheduleSummaryBuilder
source§fn eq(&self, other: &ScheduleSummaryBuilder) -> bool
fn eq(&self, other: &ScheduleSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.