@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HandOffTime extends Object implements Serializable, Cloneable, StructuredPojo
Details about when an on-call rotation shift begins or ends.
Constructor and Description |
---|
HandOffTime() |
Modifier and Type | Method and Description |
---|---|
HandOffTime |
clone() |
boolean |
equals(Object obj) |
Integer |
getHourOfDay()
The hour when an on-call rotation shift begins or ends.
|
Integer |
getMinuteOfHour()
The minute when an on-call rotation shift begins or ends.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHourOfDay(Integer hourOfDay)
The hour when an on-call rotation shift begins or ends.
|
void |
setMinuteOfHour(Integer minuteOfHour)
The minute when an on-call rotation shift begins or ends.
|
String |
toString()
Returns a string representation of this object.
|
HandOffTime |
withHourOfDay(Integer hourOfDay)
The hour when an on-call rotation shift begins or ends.
|
HandOffTime |
withMinuteOfHour(Integer minuteOfHour)
The minute when an on-call rotation shift begins or ends.
|
public void setHourOfDay(Integer hourOfDay)
The hour when an on-call rotation shift begins or ends.
hourOfDay
- The hour when an on-call rotation shift begins or ends.public Integer getHourOfDay()
The hour when an on-call rotation shift begins or ends.
public HandOffTime withHourOfDay(Integer hourOfDay)
The hour when an on-call rotation shift begins or ends.
hourOfDay
- The hour when an on-call rotation shift begins or ends.public void setMinuteOfHour(Integer minuteOfHour)
The minute when an on-call rotation shift begins or ends.
minuteOfHour
- The minute when an on-call rotation shift begins or ends.public Integer getMinuteOfHour()
The minute when an on-call rotation shift begins or ends.
public HandOffTime withMinuteOfHour(Integer minuteOfHour)
The minute when an on-call rotation shift begins or ends.
minuteOfHour
- The minute when an on-call rotation shift begins or ends.public String toString()
toString
in class Object
Object.toString()
public HandOffTime clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.