public class HoursOfOperationConfig
extends java.lang.Object
implements java.io.Serializable
Contains information about the hours of operation.
| Constructor and Description |
|---|
HoursOfOperationConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDay()
The day that the hours of operation applies to.
|
HoursOfOperationTimeSlice |
getEndTime()
The end time that your contact center closes.
|
HoursOfOperationTimeSlice |
getStartTime()
The start time that your contact center opens.
|
int |
hashCode() |
void |
setDay(HoursOfOperationDays day)
The day that the hours of operation applies to.
|
void |
setDay(java.lang.String day)
The day that the hours of operation applies to.
|
void |
setEndTime(HoursOfOperationTimeSlice endTime)
The end time that your contact center closes.
|
void |
setStartTime(HoursOfOperationTimeSlice startTime)
The start time that your contact center opens.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HoursOfOperationConfig |
withDay(HoursOfOperationDays day)
The day that the hours of operation applies to.
|
HoursOfOperationConfig |
withDay(java.lang.String day)
The day that the hours of operation applies to.
|
HoursOfOperationConfig |
withEndTime(HoursOfOperationTimeSlice endTime)
The end time that your contact center closes.
|
HoursOfOperationConfig |
withStartTime(HoursOfOperationTimeSlice startTime)
The start time that your contact center opens.
|
public java.lang.String getDay()
The day that the hours of operation applies to.
Constraints:
Allowed Values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,
FRIDAY, SATURDAY
The day that the hours of operation applies to.
HoursOfOperationDayspublic void setDay(java.lang.String day)
The day that the hours of operation applies to.
Constraints:
Allowed Values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,
FRIDAY, SATURDAY
day - The day that the hours of operation applies to.
HoursOfOperationDayspublic HoursOfOperationConfig withDay(java.lang.String day)
The day that the hours of operation applies to.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,
FRIDAY, SATURDAY
day - The day that the hours of operation applies to.
HoursOfOperationDayspublic void setDay(HoursOfOperationDays day)
The day that the hours of operation applies to.
Constraints:
Allowed Values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,
FRIDAY, SATURDAY
day - The day that the hours of operation applies to.
HoursOfOperationDayspublic HoursOfOperationConfig withDay(HoursOfOperationDays day)
The day that the hours of operation applies to.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,
FRIDAY, SATURDAY
day - The day that the hours of operation applies to.
HoursOfOperationDayspublic HoursOfOperationTimeSlice getStartTime()
The start time that your contact center opens.
The start time that your contact center opens.
public void setStartTime(HoursOfOperationTimeSlice startTime)
The start time that your contact center opens.
startTime - The start time that your contact center opens.
public HoursOfOperationConfig withStartTime(HoursOfOperationTimeSlice startTime)
The start time that your contact center opens.
Returns a reference to this object so that method calls can be chained together.
startTime - The start time that your contact center opens.
public HoursOfOperationTimeSlice getEndTime()
The end time that your contact center closes.
The end time that your contact center closes.
public void setEndTime(HoursOfOperationTimeSlice endTime)
The end time that your contact center closes.
endTime - The end time that your contact center closes.
public HoursOfOperationConfig withEndTime(HoursOfOperationTimeSlice endTime)
The end time that your contact center closes.
Returns a reference to this object so that method calls can be chained together.
endTime - The end time that your contact center closes.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object