@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceEventWindowTimeRangeRequest 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 |
---|
InstanceEventWindowTimeRangeRequest() |
Modifier and Type | Method and Description |
---|---|
InstanceEventWindowTimeRangeRequest |
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.
|
InstanceEventWindowTimeRangeRequest |
withEndHour(Integer endHour)
The hour when the time range ends.
|
InstanceEventWindowTimeRangeRequest |
withEndWeekDay(String endWeekDay)
The day on which the time range ends.
|
InstanceEventWindowTimeRangeRequest |
withEndWeekDay(WeekDay endWeekDay)
The day on which the time range ends.
|
InstanceEventWindowTimeRangeRequest |
withStartHour(Integer startHour)
The hour when the time range begins.
|
InstanceEventWindowTimeRangeRequest |
withStartWeekDay(String startWeekDay)
The day on which the time range begins.
|
InstanceEventWindowTimeRangeRequest |
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 InstanceEventWindowTimeRangeRequest withStartWeekDay(String startWeekDay)
The day on which the time range begins.
startWeekDay
- The day on which the time range begins.WeekDay
public InstanceEventWindowTimeRangeRequest 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 InstanceEventWindowTimeRangeRequest 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 InstanceEventWindowTimeRangeRequest withEndWeekDay(String endWeekDay)
The day on which the time range ends.
endWeekDay
- The day on which the time range ends.WeekDay
public InstanceEventWindowTimeRangeRequest 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 InstanceEventWindowTimeRangeRequest 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 InstanceEventWindowTimeRangeRequest clone()