@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CommunicationTypeOptions extends Object implements Serializable, Cloneable, StructuredPojo
A JSON-formatted object that contains the CommunicationTypeOptions for creating a case for a certain communication channel. It is contained in the response from a DescribeCreateCaseOptions request. CommunicationTypeOptions contains the following fields:
datesWithoutSupport - A JSON-formatted list containing date and time ranges for periods without support in UTC time. Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
supportedHours - A JSON-formatted list containing time ranges when support are available. Time format is RFC 3339 : 'HH:mm:ss.SSS'.
type - A string value indicating the communication type that the aforementioned rules apply to. At the moment
the type value can assume one of 3 values at the moment chat, web and call.
| Constructor and Description |
|---|
CommunicationTypeOptions() |
| Modifier and Type | Method and Description |
|---|---|
CommunicationTypeOptions |
clone() |
boolean |
equals(Object obj) |
List<DateInterval> |
getDatesWithoutSupport()
A JSON-formatted list containing date and time ranges for periods without support
|
List<SupportedHour> |
getSupportedHours()
A JSON-formatted list containing time ranges when support is available.
|
String |
getType()
A string value indicating the communication type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDatesWithoutSupport(Collection<DateInterval> datesWithoutSupport)
A JSON-formatted list containing date and time ranges for periods without support
|
void |
setSupportedHours(Collection<SupportedHour> supportedHours)
A JSON-formatted list containing time ranges when support is available.
|
void |
setType(String type)
A string value indicating the communication type.
|
String |
toString()
Returns a string representation of this object.
|
CommunicationTypeOptions |
withDatesWithoutSupport(Collection<DateInterval> datesWithoutSupport)
A JSON-formatted list containing date and time ranges for periods without support
|
CommunicationTypeOptions |
withDatesWithoutSupport(DateInterval... datesWithoutSupport)
A JSON-formatted list containing date and time ranges for periods without support
|
CommunicationTypeOptions |
withSupportedHours(Collection<SupportedHour> supportedHours)
A JSON-formatted list containing time ranges when support is available.
|
CommunicationTypeOptions |
withSupportedHours(SupportedHour... supportedHours)
A JSON-formatted list containing time ranges when support is available.
|
CommunicationTypeOptions |
withType(String type)
A string value indicating the communication type.
|
public void setType(String type)
A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call.
type - A string value indicating the communication type. At the moment the type value can assume one of 3 values
at the moment chat, web and call.public String getType()
A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call.
public CommunicationTypeOptions withType(String type)
A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call.
type - A string value indicating the communication type. At the moment the type value can assume one of 3 values
at the moment chat, web and call.public List<SupportedHour> getSupportedHours()
A JSON-formatted list containing time ranges when support is available.
public void setSupportedHours(Collection<SupportedHour> supportedHours)
A JSON-formatted list containing time ranges when support is available.
supportedHours - A JSON-formatted list containing time ranges when support is available.public CommunicationTypeOptions withSupportedHours(SupportedHour... supportedHours)
A JSON-formatted list containing time ranges when support is available.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedHours(java.util.Collection) or withSupportedHours(java.util.Collection) if you want
to override the existing values.
supportedHours - A JSON-formatted list containing time ranges when support is available.public CommunicationTypeOptions withSupportedHours(Collection<SupportedHour> supportedHours)
A JSON-formatted list containing time ranges when support is available.
supportedHours - A JSON-formatted list containing time ranges when support is available.public List<DateInterval> getDatesWithoutSupport()
A JSON-formatted list containing date and time ranges for periods without support
public void setDatesWithoutSupport(Collection<DateInterval> datesWithoutSupport)
A JSON-formatted list containing date and time ranges for periods without support
datesWithoutSupport - A JSON-formatted list containing date and time ranges for periods without supportpublic CommunicationTypeOptions withDatesWithoutSupport(DateInterval... datesWithoutSupport)
A JSON-formatted list containing date and time ranges for periods without support
NOTE: This method appends the values to the existing list (if any). Use
setDatesWithoutSupport(java.util.Collection) or withDatesWithoutSupport(java.util.Collection)
if you want to override the existing values.
datesWithoutSupport - A JSON-formatted list containing date and time ranges for periods without supportpublic CommunicationTypeOptions withDatesWithoutSupport(Collection<DateInterval> datesWithoutSupport)
A JSON-formatted list containing date and time ranges for periods without support
datesWithoutSupport - A JSON-formatted list containing date and time ranges for periods without supportpublic String toString()
toString in class ObjectObject.toString()public CommunicationTypeOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.