@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceEventWindowTimeRange extends Object implements Serializable, Cloneable
The start day and time and the end day and time of the time range, in UTC.
Constructor and Description |
---|
InstanceEventWindowTimeRange() |
Modifier and Type | Method and Description |
---|---|
InstanceEventWindowTimeRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getEndHour()
The hour when the time range ends.
|
String |
getEndWeekDay()
The day on which the time range ends.
|
Integer |
getStartHour()
The hour when the time range begins.
|
String |
getStartWeekDay()
The day on which the time range begins.
|
int |
hashCode() |
void |
setEndHour(Integer endHour)
The hour when the time range ends.
|
void |
setEndWeekDay(String endWeekDay)
The day on which the time range ends.
|
void |
setStartHour(Integer startHour)
The hour when the time range begins.
|
void |
setStartWeekDay(String startWeekDay)
The day on which the time range begins.
|
String |
toString()
Returns a string representation of this object.
|
InstanceEventWindowTimeRange |
withEndHour(Integer endHour)
The hour when the time range ends.
|
InstanceEventWindowTimeRange |
withEndWeekDay(String endWeekDay)
The day on which the time range ends.
|
InstanceEventWindowTimeRange |
withEndWeekDay(WeekDay endWeekDay)
The day on which the time range ends.
|
InstanceEventWindowTimeRange |
withStartHour(Integer startHour)
The hour when the time range begins.
|
InstanceEventWindowTimeRange |
withStartWeekDay(String startWeekDay)
The day on which the time range begins.
|
InstanceEventWindowTimeRange |
withStartWeekDay(WeekDay startWeekDay)
The day on which the time range begins.
|
public void setStartWeekDay(String startWeekDay)
The day on which the time range begins.
startWeekDay
- The day on which the time range begins.WeekDay
public String getStartWeekDay()
The day on which the time range begins.
WeekDay
public InstanceEventWindowTimeRange withStartWeekDay(String startWeekDay)
The day on which the time range begins.
startWeekDay
- The day on which the time range begins.WeekDay
public InstanceEventWindowTimeRange withStartWeekDay(WeekDay startWeekDay)
The day on which the time range begins.
startWeekDay
- The day on which the time range begins.WeekDay
public void setStartHour(Integer startHour)
The hour when the time range begins.
startHour
- The hour when the time range begins.public Integer getStartHour()
The hour when the time range begins.
public InstanceEventWindowTimeRange withStartHour(Integer startHour)
The hour when the time range begins.
startHour
- The hour when the time range begins.public void setEndWeekDay(String endWeekDay)
The day on which the time range ends.
endWeekDay
- The day on which the time range ends.WeekDay
public String getEndWeekDay()
The day on which the time range ends.
WeekDay
public InstanceEventWindowTimeRange withEndWeekDay(String endWeekDay)
The day on which the time range ends.
endWeekDay
- The day on which the time range ends.WeekDay
public InstanceEventWindowTimeRange withEndWeekDay(WeekDay endWeekDay)
The day on which the time range ends.
endWeekDay
- The day on which the time range ends.WeekDay
public void setEndHour(Integer endHour)
The hour when the time range ends.
endHour
- The hour when the time range ends.public Integer getEndHour()
The hour when the time range ends.
public InstanceEventWindowTimeRange withEndHour(Integer endHour)
The hour when the time range ends.
endHour
- The hour when the time range ends.public String toString()
toString
in class Object
Object.toString()
public InstanceEventWindowTimeRange clone()