@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicRefreshSchedule extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents a topic refresh schedule.
Constructor and Description |
---|
TopicRefreshSchedule() |
Modifier and Type | Method and Description |
---|---|
TopicRefreshSchedule |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBasedOnSpiceSchedule()
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
|
Boolean |
getIsEnabled()
A Boolean value that controls whether to schedule is enabled.
|
String |
getRepeatAt()
The time of day when the refresh should run, for example, Monday-Sunday.
|
Date |
getStartingAt()
The starting date and time for the refresh schedule.
|
String |
getTimezone()
The timezone that you want the refresh schedule to use.
|
String |
getTopicScheduleType()
The type of refresh schedule.
|
int |
hashCode() |
Boolean |
isBasedOnSpiceSchedule()
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
|
Boolean |
isEnabled()
A Boolean value that controls whether to schedule is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBasedOnSpiceSchedule(Boolean basedOnSpiceSchedule)
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
|
void |
setIsEnabled(Boolean isEnabled)
A Boolean value that controls whether to schedule is enabled.
|
void |
setRepeatAt(String repeatAt)
The time of day when the refresh should run, for example, Monday-Sunday.
|
void |
setStartingAt(Date startingAt)
The starting date and time for the refresh schedule.
|
void |
setTimezone(String timezone)
The timezone that you want the refresh schedule to use.
|
void |
setTopicScheduleType(String topicScheduleType)
The type of refresh schedule.
|
String |
toString()
Returns a string representation of this object.
|
TopicRefreshSchedule |
withBasedOnSpiceSchedule(Boolean basedOnSpiceSchedule)
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
|
TopicRefreshSchedule |
withIsEnabled(Boolean isEnabled)
A Boolean value that controls whether to schedule is enabled.
|
TopicRefreshSchedule |
withRepeatAt(String repeatAt)
The time of day when the refresh should run, for example, Monday-Sunday.
|
TopicRefreshSchedule |
withStartingAt(Date startingAt)
The starting date and time for the refresh schedule.
|
TopicRefreshSchedule |
withTimezone(String timezone)
The timezone that you want the refresh schedule to use.
|
TopicRefreshSchedule |
withTopicScheduleType(String topicScheduleType)
The type of refresh schedule.
|
TopicRefreshSchedule |
withTopicScheduleType(TopicScheduleType topicScheduleType)
The type of refresh schedule.
|
public void setIsEnabled(Boolean isEnabled)
A Boolean value that controls whether to schedule is enabled.
isEnabled
- A Boolean value that controls whether to schedule is enabled.public Boolean getIsEnabled()
A Boolean value that controls whether to schedule is enabled.
public TopicRefreshSchedule withIsEnabled(Boolean isEnabled)
A Boolean value that controls whether to schedule is enabled.
isEnabled
- A Boolean value that controls whether to schedule is enabled.public Boolean isEnabled()
A Boolean value that controls whether to schedule is enabled.
public void setBasedOnSpiceSchedule(Boolean basedOnSpiceSchedule)
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
basedOnSpiceSchedule
- A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE
dataset.public Boolean getBasedOnSpiceSchedule()
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
public TopicRefreshSchedule withBasedOnSpiceSchedule(Boolean basedOnSpiceSchedule)
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
basedOnSpiceSchedule
- A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE
dataset.public Boolean isBasedOnSpiceSchedule()
A Boolean value that controls whether to schedule runs at the same schedule that is specified in SPICE dataset.
public void setStartingAt(Date startingAt)
The starting date and time for the refresh schedule.
startingAt
- The starting date and time for the refresh schedule.public Date getStartingAt()
The starting date and time for the refresh schedule.
public TopicRefreshSchedule withStartingAt(Date startingAt)
The starting date and time for the refresh schedule.
startingAt
- The starting date and time for the refresh schedule.public void setTimezone(String timezone)
The timezone that you want the refresh schedule to use.
timezone
- The timezone that you want the refresh schedule to use.public String getTimezone()
The timezone that you want the refresh schedule to use.
public TopicRefreshSchedule withTimezone(String timezone)
The timezone that you want the refresh schedule to use.
timezone
- The timezone that you want the refresh schedule to use.public void setRepeatAt(String repeatAt)
The time of day when the refresh should run, for example, Monday-Sunday.
repeatAt
- The time of day when the refresh should run, for example, Monday-Sunday.public String getRepeatAt()
The time of day when the refresh should run, for example, Monday-Sunday.
public TopicRefreshSchedule withRepeatAt(String repeatAt)
The time of day when the refresh should run, for example, Monday-Sunday.
repeatAt
- The time of day when the refresh should run, for example, Monday-Sunday.public void setTopicScheduleType(String topicScheduleType)
The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
,
WEEKLY
, and MONTHLY
.
topicScheduleType
- The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
,
WEEKLY
, and MONTHLY
.TopicScheduleType
public String getTopicScheduleType()
The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
,
WEEKLY
, and MONTHLY
.
HOURLY
, DAILY
, WEEKLY
, and MONTHLY
.TopicScheduleType
public TopicRefreshSchedule withTopicScheduleType(String topicScheduleType)
The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
,
WEEKLY
, and MONTHLY
.
topicScheduleType
- The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
,
WEEKLY
, and MONTHLY
.TopicScheduleType
public TopicRefreshSchedule withTopicScheduleType(TopicScheduleType topicScheduleType)
The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
,
WEEKLY
, and MONTHLY
.
topicScheduleType
- The type of refresh schedule. Valid values for this structure are HOURLY
, DAILY
,
WEEKLY
, and MONTHLY
.TopicScheduleType
public String toString()
toString
in class Object
Object.toString()
public TopicRefreshSchedule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.