#[non_exhaustive]pub struct TopicRefreshScheduleBuilder { /* private fields */ }
Expand description
A builder for TopicRefreshSchedule
.
Implementations§
source§impl TopicRefreshScheduleBuilder
impl TopicRefreshScheduleBuilder
sourcepub fn is_enabled(self, input: bool) -> Self
pub fn is_enabled(self, input: bool) -> Self
A Boolean value that controls whether to schedule is enabled.
This field is required.sourcepub fn set_is_enabled(self, input: Option<bool>) -> Self
pub fn set_is_enabled(self, input: Option<bool>) -> Self
A Boolean value that controls whether to schedule is enabled.
sourcepub fn get_is_enabled(&self) -> &Option<bool>
pub fn get_is_enabled(&self) -> &Option<bool>
A Boolean value that controls whether to schedule is enabled.
sourcepub fn based_on_spice_schedule(self, input: bool) -> Self
pub fn based_on_spice_schedule(self, input: bool) -> Self
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
This field is required.sourcepub fn set_based_on_spice_schedule(self, input: Option<bool>) -> Self
pub fn set_based_on_spice_schedule(self, input: Option<bool>) -> Self
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
sourcepub fn get_based_on_spice_schedule(&self) -> &Option<bool>
pub fn get_based_on_spice_schedule(&self) -> &Option<bool>
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
sourcepub fn starting_at(self, input: DateTime) -> Self
pub fn starting_at(self, input: DateTime) -> Self
The starting date and time for the refresh schedule.
sourcepub fn set_starting_at(self, input: Option<DateTime>) -> Self
pub fn set_starting_at(self, input: Option<DateTime>) -> Self
The starting date and time for the refresh schedule.
sourcepub fn get_starting_at(&self) -> &Option<DateTime>
pub fn get_starting_at(&self) -> &Option<DateTime>
The starting date and time for the refresh schedule.
sourcepub fn timezone(self, input: impl Into<String>) -> Self
pub fn timezone(self, input: impl Into<String>) -> Self
The timezone that you want the refresh schedule to use.
sourcepub fn set_timezone(self, input: Option<String>) -> Self
pub fn set_timezone(self, input: Option<String>) -> Self
The timezone that you want the refresh schedule to use.
sourcepub fn get_timezone(&self) -> &Option<String>
pub fn get_timezone(&self) -> &Option<String>
The timezone that you want the refresh schedule to use.
sourcepub fn repeat_at(self, input: impl Into<String>) -> Self
pub fn repeat_at(self, input: impl Into<String>) -> Self
The time of day when the refresh should run, for example, Monday-Sunday.
sourcepub fn set_repeat_at(self, input: Option<String>) -> Self
pub fn set_repeat_at(self, input: Option<String>) -> Self
The time of day when the refresh should run, for example, Monday-Sunday.
sourcepub fn get_repeat_at(&self) -> &Option<String>
pub fn get_repeat_at(&self) -> &Option<String>
The time of day when the refresh should run, for example, Monday-Sunday.
sourcepub fn topic_schedule_type(self, input: TopicScheduleType) -> Self
pub fn topic_schedule_type(self, input: TopicScheduleType) -> Self
The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
, WEEKLY
, and MONTHLY
.
sourcepub fn set_topic_schedule_type(self, input: Option<TopicScheduleType>) -> Self
pub fn set_topic_schedule_type(self, input: Option<TopicScheduleType>) -> Self
The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
, WEEKLY
, and MONTHLY
.
sourcepub fn get_topic_schedule_type(&self) -> &Option<TopicScheduleType>
pub fn get_topic_schedule_type(&self) -> &Option<TopicScheduleType>
The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
, WEEKLY
, and MONTHLY
.
sourcepub fn build(self) -> Result<TopicRefreshSchedule, BuildError>
pub fn build(self) -> Result<TopicRefreshSchedule, BuildError>
Consumes the builder and constructs a TopicRefreshSchedule
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TopicRefreshScheduleBuilder
impl Clone for TopicRefreshScheduleBuilder
source§fn clone(&self) -> TopicRefreshScheduleBuilder
fn clone(&self) -> TopicRefreshScheduleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopicRefreshScheduleBuilder
impl Debug for TopicRefreshScheduleBuilder
source§impl Default for TopicRefreshScheduleBuilder
impl Default for TopicRefreshScheduleBuilder
source§fn default() -> TopicRefreshScheduleBuilder
fn default() -> TopicRefreshScheduleBuilder
source§impl PartialEq for TopicRefreshScheduleBuilder
impl PartialEq for TopicRefreshScheduleBuilder
source§fn eq(&self, other: &TopicRefreshScheduleBuilder) -> bool
fn eq(&self, other: &TopicRefreshScheduleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.