@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WindowStartTime extends Object implements Serializable, Cloneable, StructuredPojo
The desired start time for an off-peak maintenance window.
| Constructor and Description |
|---|
WindowStartTime() |
| Modifier and Type | Method and Description |
|---|---|
WindowStartTime |
clone() |
boolean |
equals(Object obj) |
Long |
getHours()
The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time.
|
Long |
getMinutes()
The start minute of the window, in UTC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setHours(Long hours)
The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time.
|
void |
setMinutes(Long minutes)
The start minute of the window, in UTC.
|
String |
toString()
Returns a string representation of this object.
|
WindowStartTime |
withHours(Long hours)
The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time.
|
WindowStartTime |
withMinutes(Long minutes)
The start minute of the window, in UTC.
|
public void setHours(Long hours)
The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example,
17 refers to 5:00 P.M. UTC.
hours - The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example,
17 refers to 5:00 P.M. UTC.public Long getHours()
The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example,
17 refers to 5:00 P.M. UTC.
17 refers to 5:00 P.M. UTC.public WindowStartTime withHours(Long hours)
The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example,
17 refers to 5:00 P.M. UTC.
hours - The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example,
17 refers to 5:00 P.M. UTC.public void setMinutes(Long minutes)
The start minute of the window, in UTC.
minutes - The start minute of the window, in UTC.public Long getMinutes()
The start minute of the window, in UTC.
public WindowStartTime withMinutes(Long minutes)
The start minute of the window, in UTC.
minutes - The start minute of the window, in UTC.public String toString()
toString in class ObjectObject.toString()public WindowStartTime clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.