@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaintenanceStartTime extends Object implements Serializable, Cloneable, StructuredPojo
This is your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. Can be weekly or monthly.
Constructor and Description |
---|
MaintenanceStartTime() |
Modifier and Type | Method and Description |
---|---|
MaintenanceStartTime |
clone() |
boolean |
equals(Object obj) |
Integer |
getDayOfMonth()
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where
1 represents the first day of the month and 28 represents the last day of the month.
|
Integer |
getDayOfWeek()
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents
Saturday.
|
Integer |
getHourOfDay()
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23).
|
Integer |
getMinuteOfHour()
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to
59).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDayOfMonth(Integer dayOfMonth)
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where
1 represents the first day of the month and 28 represents the last day of the month.
|
void |
setDayOfWeek(Integer dayOfWeek)
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents
Saturday.
|
void |
setHourOfDay(Integer hourOfDay)
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23).
|
void |
setMinuteOfHour(Integer minuteOfHour)
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to
59).
|
String |
toString()
Returns a string representation of this object.
|
MaintenanceStartTime |
withDayOfMonth(Integer dayOfMonth)
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where
1 represents the first day of the month and 28 represents the last day of the month.
|
MaintenanceStartTime |
withDayOfWeek(Integer dayOfWeek)
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents
Saturday.
|
MaintenanceStartTime |
withHourOfDay(Integer hourOfDay)
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23).
|
MaintenanceStartTime |
withMinuteOfHour(Integer minuteOfHour)
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to
59).
|
public void setDayOfMonth(Integer dayOfMonth)
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
dayOfMonth
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to
28, where 1 represents the first day of the month and 28 represents the last day of the month.public Integer getDayOfMonth()
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
public MaintenanceStartTime withDayOfMonth(Integer dayOfMonth)
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
dayOfMonth
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to
28, where 1 represents the first day of the month and 28 represents the last day of the month.public void setDayOfWeek(Integer dayOfWeek)
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
dayOfWeek
- An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6
represents Saturday. The day of week is in the time zone of the gateway.public Integer getDayOfWeek()
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
public MaintenanceStartTime withDayOfWeek(Integer dayOfWeek)
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
dayOfWeek
- An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6
represents Saturday. The day of week is in the time zone of the gateway.public void setHourOfDay(Integer hourOfDay)
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
hourOfDay
- The hour component of the maintenance start time represented as hh, where hh is the hour (0
to 23). The hour of the day is in the time zone of the gateway.public Integer getHourOfDay()
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
public MaintenanceStartTime withHourOfDay(Integer hourOfDay)
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
hourOfDay
- The hour component of the maintenance start time represented as hh, where hh is the hour (0
to 23). The hour of the day is in the time zone of the gateway.public void setMinuteOfHour(Integer minuteOfHour)
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
minuteOfHour
- The minute component of the maintenance start time represented as mm, where mm is the minute
(0 to 59). The minute of the hour is in the time zone of the gateway.public Integer getMinuteOfHour()
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
public MaintenanceStartTime withMinuteOfHour(Integer minuteOfHour)
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
minuteOfHour
- The minute component of the maintenance start time represented as mm, where mm is the minute
(0 to 59). The minute of the hour is in the time zone of the gateway.public String toString()
toString
in class Object
Object.toString()
public MaintenanceStartTime clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.