Struct aws_sdk_quicksight::types::builders::RefreshFrequencyBuilder
source · #[non_exhaustive]pub struct RefreshFrequencyBuilder { /* private fields */ }Expand description
A builder for RefreshFrequency.
Implementations§
source§impl RefreshFrequencyBuilder
impl RefreshFrequencyBuilder
sourcepub fn interval(self, input: RefreshInterval) -> Self
pub fn interval(self, input: RefreshInterval) -> Self
The interval between scheduled refreshes. Valid values are as follows:
-
MINUTE15: The dataset refreshes every 15 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset. -
MINUTE30:The dataset refreshes every 30 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset. -
HOURLY: The dataset refreshes every hour. This interval can only be used for one schedule per dataset. -
DAILY: The dataset refreshes every day. -
WEEKLY: The dataset refreshes every week. -
MONTHLY: The dataset refreshes every month.
sourcepub fn set_interval(self, input: Option<RefreshInterval>) -> Self
pub fn set_interval(self, input: Option<RefreshInterval>) -> Self
The interval between scheduled refreshes. Valid values are as follows:
-
MINUTE15: The dataset refreshes every 15 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset. -
MINUTE30:The dataset refreshes every 30 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset. -
HOURLY: The dataset refreshes every hour. This interval can only be used for one schedule per dataset. -
DAILY: The dataset refreshes every day. -
WEEKLY: The dataset refreshes every week. -
MONTHLY: The dataset refreshes every month.
sourcepub fn get_interval(&self) -> &Option<RefreshInterval>
pub fn get_interval(&self) -> &Option<RefreshInterval>
The interval between scheduled refreshes. Valid values are as follows:
-
MINUTE15: The dataset refreshes every 15 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset. -
MINUTE30:The dataset refreshes every 30 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset. -
HOURLY: The dataset refreshes every hour. This interval can only be used for one schedule per dataset. -
DAILY: The dataset refreshes every day. -
WEEKLY: The dataset refreshes every week. -
MONTHLY: The dataset refreshes every month.
sourcepub fn refresh_on_day(self, input: ScheduleRefreshOnEntity) -> Self
pub fn refresh_on_day(self, input: ScheduleRefreshOnEntity) -> Self
The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.
sourcepub fn set_refresh_on_day(self, input: Option<ScheduleRefreshOnEntity>) -> Self
pub fn set_refresh_on_day(self, input: Option<ScheduleRefreshOnEntity>) -> Self
The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.
sourcepub fn get_refresh_on_day(&self) -> &Option<ScheduleRefreshOnEntity>
pub fn get_refresh_on_day(&self) -> &Option<ScheduleRefreshOnEntity>
The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.
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. The timezone ID must match a corresponding ID found on java.util.time.getAvailableIDs().
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. The timezone ID must match a corresponding ID found on java.util.time.getAvailableIDs().
sourcepub fn get_timezone(&self) -> &Option<String>
pub fn get_timezone(&self) -> &Option<String>
The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID found on java.util.time.getAvailableIDs().
sourcepub fn time_of_the_day(self, input: impl Into<String>) -> Self
pub fn time_of_the_day(self, input: impl Into<String>) -> Self
The time of day that you want the datset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
sourcepub fn set_time_of_the_day(self, input: Option<String>) -> Self
pub fn set_time_of_the_day(self, input: Option<String>) -> Self
The time of day that you want the datset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
sourcepub fn get_time_of_the_day(&self) -> &Option<String>
pub fn get_time_of_the_day(&self) -> &Option<String>
The time of day that you want the datset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
sourcepub fn build(self) -> Result<RefreshFrequency, BuildError>
pub fn build(self) -> Result<RefreshFrequency, BuildError>
Consumes the builder and constructs a RefreshFrequency.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RefreshFrequencyBuilder
impl Clone for RefreshFrequencyBuilder
source§fn clone(&self) -> RefreshFrequencyBuilder
fn clone(&self) -> RefreshFrequencyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RefreshFrequencyBuilder
impl Debug for RefreshFrequencyBuilder
source§impl Default for RefreshFrequencyBuilder
impl Default for RefreshFrequencyBuilder
source§fn default() -> RefreshFrequencyBuilder
fn default() -> RefreshFrequencyBuilder
source§impl PartialEq for RefreshFrequencyBuilder
impl PartialEq for RefreshFrequencyBuilder
source§fn eq(&self, other: &RefreshFrequencyBuilder) -> bool
fn eq(&self, other: &RefreshFrequencyBuilder) -> bool
self and other values to be equal, and is used
by ==.