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
impl StructuralPartialEq for RefreshFrequencyBuilder
Auto Trait Implementations§
impl Freeze for RefreshFrequencyBuilder
impl RefUnwindSafe for RefreshFrequencyBuilder
impl Send for RefreshFrequencyBuilder
impl Sync for RefreshFrequencyBuilder
impl Unpin for RefreshFrequencyBuilder
impl UnwindSafe for RefreshFrequencyBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more