@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HoursOfOperationTimeSlice extends Object implements Serializable, Cloneable, StructuredPojo
The start time or end time for an hours of operation.
Constructor and Description |
---|
HoursOfOperationTimeSlice() |
Modifier and Type | Method and Description |
---|---|
HoursOfOperationTimeSlice |
clone() |
boolean |
equals(Object obj) |
Integer |
getHours()
The hours.
|
Integer |
getMinutes()
The minutes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHours(Integer hours)
The hours.
|
void |
setMinutes(Integer minutes)
The minutes.
|
String |
toString()
Returns a string representation of this object.
|
HoursOfOperationTimeSlice |
withHours(Integer hours)
The hours.
|
HoursOfOperationTimeSlice |
withMinutes(Integer minutes)
The minutes.
|
public void setHours(Integer hours)
The hours.
hours
- The hours.public Integer getHours()
The hours.
public HoursOfOperationTimeSlice withHours(Integer hours)
The hours.
hours
- The hours.public void setMinutes(Integer minutes)
The minutes.
minutes
- The minutes.public Integer getMinutes()
The minutes.
public HoursOfOperationTimeSlice withMinutes(Integer minutes)
The minutes.
minutes
- The minutes.public String toString()
toString
in class Object
Object.toString()
public HoursOfOperationTimeSlice clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.