@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RefreshFrequency extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the interval between each scheduled refresh of a dataset.
Constructor and Description |
---|
RefreshFrequency() |
Modifier and Type | Method and Description |
---|---|
RefreshFrequency |
clone() |
boolean |
equals(Object obj) |
String |
getInterval()
The interval between scheduled refreshes.
|
ScheduleRefreshOnEntity |
getRefreshOnDay()
The day of the week that you want to schedule the refresh on.
|
String |
getTimeOfTheDay()
The time of day that you want the datset to refresh.
|
String |
getTimezone()
The timezone that you want the refresh schedule to use.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInterval(String interval)
The interval between scheduled refreshes.
|
void |
setRefreshOnDay(ScheduleRefreshOnEntity refreshOnDay)
The day of the week that you want to schedule the refresh on.
|
void |
setTimeOfTheDay(String timeOfTheDay)
The time of day that you want the datset to refresh.
|
void |
setTimezone(String timezone)
The timezone that you want the refresh schedule to use.
|
String |
toString()
Returns a string representation of this object.
|
RefreshFrequency |
withInterval(RefreshInterval interval)
The interval between scheduled refreshes.
|
RefreshFrequency |
withInterval(String interval)
The interval between scheduled refreshes.
|
RefreshFrequency |
withRefreshOnDay(ScheduleRefreshOnEntity refreshOnDay)
The day of the week that you want to schedule the refresh on.
|
RefreshFrequency |
withTimeOfTheDay(String timeOfTheDay)
The time of day that you want the datset to refresh.
|
RefreshFrequency |
withTimezone(String timezone)
The timezone that you want the refresh schedule to use.
|
public void setInterval(String interval)
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.
interval
- 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.
RefreshInterval
public String getInterval()
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.
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.
RefreshInterval
public RefreshFrequency withInterval(String interval)
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.
interval
- 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.
RefreshInterval
public RefreshFrequency withInterval(RefreshInterval interval)
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.
interval
- 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.
RefreshInterval
public void setRefreshOnDay(ScheduleRefreshOnEntity refreshOnDay)
The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.
refreshOnDay
- The day of the week that you want to schedule the refresh on. This value is required for weekly and
monthly refresh intervals.public ScheduleRefreshOnEntity getRefreshOnDay()
The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.
public RefreshFrequency withRefreshOnDay(ScheduleRefreshOnEntity refreshOnDay)
The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.
refreshOnDay
- The day of the week that you want to schedule the refresh on. This value is required for weekly and
monthly refresh intervals.public void setTimezone(String timezone)
The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID found on
java.util.time.getAvailableIDs()
.
timezone
- The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID
found on java.util.time.getAvailableIDs()
.public String getTimezone()
The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID found on
java.util.time.getAvailableIDs()
.
java.util.time.getAvailableIDs()
.public RefreshFrequency withTimezone(String timezone)
The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID found on
java.util.time.getAvailableIDs()
.
timezone
- The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID
found on java.util.time.getAvailableIDs()
.public void setTimeOfTheDay(String timeOfTheDay)
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.
timeOfTheDay
- 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.public String getTimeOfTheDay()
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.
public RefreshFrequency withTimeOfTheDay(String timeOfTheDay)
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.
timeOfTheDay
- 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.public String toString()
toString
in class Object
Object.toString()
public RefreshFrequency clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.