@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenHoursRule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the start and end time for OpenHours.
Constructor and Description |
---|
OpenHoursRule() |
Modifier and Type | Method and Description |
---|---|
OpenHoursRule |
clone() |
boolean |
equals(Object obj) |
String |
getEndTime()
The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.
|
String |
getStartTime()
The start of the scheduled time, in ISO 8601 format, when the channel can send messages.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(String endTime)
The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.
|
void |
setStartTime(String startTime)
The start of the scheduled time, in ISO 8601 format, when the channel can send messages.
|
String |
toString()
Returns a string representation of this object.
|
OpenHoursRule |
withEndTime(String endTime)
The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.
|
OpenHoursRule |
withStartTime(String startTime)
The start of the scheduled time, in ISO 8601 format, when the channel can send messages.
|
public void setStartTime(String startTime)
The start of the scheduled time, in ISO 8601 format, when the channel can send messages.
startTime
- The start of the scheduled time, in ISO 8601 format, when the channel can send messages.public String getStartTime()
The start of the scheduled time, in ISO 8601 format, when the channel can send messages.
public OpenHoursRule withStartTime(String startTime)
The start of the scheduled time, in ISO 8601 format, when the channel can send messages.
startTime
- The start of the scheduled time, in ISO 8601 format, when the channel can send messages.public void setEndTime(String endTime)
The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.
endTime
- The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.public String getEndTime()
The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.
public OpenHoursRule withEndTime(String endTime)
The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.
endTime
- The end of the scheduled time, in ISO 8601 format, when the channel can't send messages.public String toString()
toString
in class Object
Object.toString()
public OpenHoursRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.