@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaintenanceWindow extends Object implements Serializable, Cloneable, StructuredPojo
Describes the maintenance window for a thin client device.
Constructor and Description |
---|
MaintenanceWindow() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindow |
clone() |
boolean |
equals(Object obj) |
String |
getApplyTimeOf()
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
|
List<String> |
getDaysOfTheWeek()
The days of the week during which the maintenance window is open.
|
Integer |
getEndTimeHour()
The hour for the maintenance window end (
00 -23 ). |
Integer |
getEndTimeMinute()
The minutes for the maintenance window end (
00 -59 ). |
Integer |
getStartTimeHour()
The hour for the maintenance window start (
00 -23 ). |
Integer |
getStartTimeMinute()
The minutes past the hour for the maintenance window start (
00 -59 ). |
String |
getType()
An option to select the default or custom maintenance window.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplyTimeOf(String applyTimeOf)
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
|
void |
setDaysOfTheWeek(Collection<String> daysOfTheWeek)
The days of the week during which the maintenance window is open.
|
void |
setEndTimeHour(Integer endTimeHour)
The hour for the maintenance window end (
00 -23 ). |
void |
setEndTimeMinute(Integer endTimeMinute)
The minutes for the maintenance window end (
00 -59 ). |
void |
setStartTimeHour(Integer startTimeHour)
The hour for the maintenance window start (
00 -23 ). |
void |
setStartTimeMinute(Integer startTimeMinute)
The minutes past the hour for the maintenance window start (
00 -59 ). |
void |
setType(String type)
An option to select the default or custom maintenance window.
|
String |
toString()
Returns a string representation of this object.
|
MaintenanceWindow |
withApplyTimeOf(ApplyTimeOf applyTimeOf)
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
|
MaintenanceWindow |
withApplyTimeOf(String applyTimeOf)
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
|
MaintenanceWindow |
withDaysOfTheWeek(Collection<String> daysOfTheWeek)
The days of the week during which the maintenance window is open.
|
MaintenanceWindow |
withDaysOfTheWeek(DayOfWeek... daysOfTheWeek)
The days of the week during which the maintenance window is open.
|
MaintenanceWindow |
withDaysOfTheWeek(String... daysOfTheWeek)
The days of the week during which the maintenance window is open.
|
MaintenanceWindow |
withEndTimeHour(Integer endTimeHour)
The hour for the maintenance window end (
00 -23 ). |
MaintenanceWindow |
withEndTimeMinute(Integer endTimeMinute)
The minutes for the maintenance window end (
00 -59 ). |
MaintenanceWindow |
withStartTimeHour(Integer startTimeHour)
The hour for the maintenance window start (
00 -23 ). |
MaintenanceWindow |
withStartTimeMinute(Integer startTimeMinute)
The minutes past the hour for the maintenance window start (
00 -59 ). |
MaintenanceWindow |
withType(MaintenanceWindowType type)
An option to select the default or custom maintenance window.
|
MaintenanceWindow |
withType(String type)
An option to select the default or custom maintenance window.
|
public void setType(String type)
An option to select the default or custom maintenance window.
type
- An option to select the default or custom maintenance window.MaintenanceWindowType
public String getType()
An option to select the default or custom maintenance window.
MaintenanceWindowType
public MaintenanceWindow withType(String type)
An option to select the default or custom maintenance window.
type
- An option to select the default or custom maintenance window.MaintenanceWindowType
public MaintenanceWindow withType(MaintenanceWindowType type)
An option to select the default or custom maintenance window.
type
- An option to select the default or custom maintenance window.MaintenanceWindowType
public void setStartTimeHour(Integer startTimeHour)
The hour for the maintenance window start (00
-23
).
startTimeHour
- The hour for the maintenance window start (00
-23
).public Integer getStartTimeHour()
The hour for the maintenance window start (00
-23
).
00
-23
).public MaintenanceWindow withStartTimeHour(Integer startTimeHour)
The hour for the maintenance window start (00
-23
).
startTimeHour
- The hour for the maintenance window start (00
-23
).public void setStartTimeMinute(Integer startTimeMinute)
The minutes past the hour for the maintenance window start (00
-59
).
startTimeMinute
- The minutes past the hour for the maintenance window start (00
-59
).public Integer getStartTimeMinute()
The minutes past the hour for the maintenance window start (00
-59
).
00
-59
).public MaintenanceWindow withStartTimeMinute(Integer startTimeMinute)
The minutes past the hour for the maintenance window start (00
-59
).
startTimeMinute
- The minutes past the hour for the maintenance window start (00
-59
).public void setEndTimeHour(Integer endTimeHour)
The hour for the maintenance window end (00
-23
).
endTimeHour
- The hour for the maintenance window end (00
-23
).public Integer getEndTimeHour()
The hour for the maintenance window end (00
-23
).
00
-23
).public MaintenanceWindow withEndTimeHour(Integer endTimeHour)
The hour for the maintenance window end (00
-23
).
endTimeHour
- The hour for the maintenance window end (00
-23
).public void setEndTimeMinute(Integer endTimeMinute)
The minutes for the maintenance window end (00
-59
).
endTimeMinute
- The minutes for the maintenance window end (00
-59
).public Integer getEndTimeMinute()
The minutes for the maintenance window end (00
-59
).
00
-59
).public MaintenanceWindow withEndTimeMinute(Integer endTimeMinute)
The minutes for the maintenance window end (00
-59
).
endTimeMinute
- The minutes for the maintenance window end (00
-59
).public List<String> getDaysOfTheWeek()
The days of the week during which the maintenance window is open.
DayOfWeek
public void setDaysOfTheWeek(Collection<String> daysOfTheWeek)
The days of the week during which the maintenance window is open.
daysOfTheWeek
- The days of the week during which the maintenance window is open.DayOfWeek
public MaintenanceWindow withDaysOfTheWeek(String... daysOfTheWeek)
The days of the week during which the maintenance window is open.
NOTE: This method appends the values to the existing list (if any). Use
setDaysOfTheWeek(java.util.Collection)
or withDaysOfTheWeek(java.util.Collection)
if you want
to override the existing values.
daysOfTheWeek
- The days of the week during which the maintenance window is open.DayOfWeek
public MaintenanceWindow withDaysOfTheWeek(Collection<String> daysOfTheWeek)
The days of the week during which the maintenance window is open.
daysOfTheWeek
- The days of the week during which the maintenance window is open.DayOfWeek
public MaintenanceWindow withDaysOfTheWeek(DayOfWeek... daysOfTheWeek)
The days of the week during which the maintenance window is open.
daysOfTheWeek
- The days of the week during which the maintenance window is open.DayOfWeek
public void setApplyTimeOf(String applyTimeOf)
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
applyTimeOf
- The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).ApplyTimeOf
public String getApplyTimeOf()
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
ApplyTimeOf
public MaintenanceWindow withApplyTimeOf(String applyTimeOf)
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
applyTimeOf
- The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).ApplyTimeOf
public MaintenanceWindow withApplyTimeOf(ApplyTimeOf applyTimeOf)
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
applyTimeOf
- The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).ApplyTimeOf
public String toString()
toString
in class Object
Object.toString()
public MaintenanceWindow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.