@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenHours extends Object implements Serializable, Cloneable, StructuredPojo
The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true.
| Constructor and Description |
|---|
OpenHours() |
| Modifier and Type | Method and Description |
|---|---|
OpenHours |
addCUSTOMEntry(String key,
List<OpenHoursRule> value)
Add a single CUSTOM entry
|
OpenHours |
addEMAILEntry(String key,
List<OpenHoursRule> value)
Add a single EMAIL entry
|
OpenHours |
addPUSHEntry(String key,
List<OpenHoursRule> value)
Add a single PUSH entry
|
OpenHours |
addSMSEntry(String key,
List<OpenHoursRule> value)
Add a single SMS entry
|
OpenHours |
addVOICEEntry(String key,
List<OpenHoursRule> value)
Add a single VOICE entry
|
OpenHours |
clearCUSTOMEntries()
Removes all the entries added into CUSTOM.
|
OpenHours |
clearEMAILEntries()
Removes all the entries added into EMAIL.
|
OpenHours |
clearPUSHEntries()
Removes all the entries added into PUSH.
|
OpenHours |
clearSMSEntries()
Removes all the entries added into SMS.
|
OpenHours |
clearVOICEEntries()
Removes all the entries added into VOICE.
|
OpenHours |
clone() |
boolean |
equals(Object obj) |
Map<String,List<OpenHoursRule>> |
getCUSTOM()
Rules for Custom Channel.
|
Map<String,List<OpenHoursRule>> |
getEMAIL()
Rules for Email Channel.
|
Map<String,List<OpenHoursRule>> |
getPUSH()
Rules for Push Channel.
|
Map<String,List<OpenHoursRule>> |
getSMS()
Rules for SMS Channel.
|
Map<String,List<OpenHoursRule>> |
getVOICE()
Rules for Voice Channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCUSTOM(Map<String,List<OpenHoursRule>> cUSTOM)
Rules for Custom Channel.
|
void |
setEMAIL(Map<String,List<OpenHoursRule>> eMAIL)
Rules for Email Channel.
|
void |
setPUSH(Map<String,List<OpenHoursRule>> pUSH)
Rules for Push Channel.
|
void |
setSMS(Map<String,List<OpenHoursRule>> sMS)
Rules for SMS Channel.
|
void |
setVOICE(Map<String,List<OpenHoursRule>> vOICE)
Rules for Voice Channel.
|
String |
toString()
Returns a string representation of this object.
|
OpenHours |
withCUSTOM(Map<String,List<OpenHoursRule>> cUSTOM)
Rules for Custom Channel.
|
OpenHours |
withEMAIL(Map<String,List<OpenHoursRule>> eMAIL)
Rules for Email Channel.
|
OpenHours |
withPUSH(Map<String,List<OpenHoursRule>> pUSH)
Rules for Push Channel.
|
OpenHours |
withSMS(Map<String,List<OpenHoursRule>> sMS)
Rules for SMS Channel.
|
OpenHours |
withVOICE(Map<String,List<OpenHoursRule>> vOICE)
Rules for Voice Channel.
|
public Map<String,List<OpenHoursRule>> getEMAIL()
Rules for Email Channel.
public void setEMAIL(Map<String,List<OpenHoursRule>> eMAIL)
Rules for Email Channel.
eMAIL - Rules for Email Channel.public OpenHours withEMAIL(Map<String,List<OpenHoursRule>> eMAIL)
Rules for Email Channel.
eMAIL - Rules for Email Channel.public OpenHours addEMAILEntry(String key, List<OpenHoursRule> value)
public OpenHours clearEMAILEntries()
public Map<String,List<OpenHoursRule>> getSMS()
Rules for SMS Channel.
public void setSMS(Map<String,List<OpenHoursRule>> sMS)
Rules for SMS Channel.
sMS - Rules for SMS Channel.public OpenHours withSMS(Map<String,List<OpenHoursRule>> sMS)
Rules for SMS Channel.
sMS - Rules for SMS Channel.public OpenHours addSMSEntry(String key, List<OpenHoursRule> value)
public OpenHours clearSMSEntries()
public Map<String,List<OpenHoursRule>> getPUSH()
Rules for Push Channel.
public void setPUSH(Map<String,List<OpenHoursRule>> pUSH)
Rules for Push Channel.
pUSH - Rules for Push Channel.public OpenHours withPUSH(Map<String,List<OpenHoursRule>> pUSH)
Rules for Push Channel.
pUSH - Rules for Push Channel.public OpenHours addPUSHEntry(String key, List<OpenHoursRule> value)
public OpenHours clearPUSHEntries()
public Map<String,List<OpenHoursRule>> getVOICE()
Rules for Voice Channel.
public void setVOICE(Map<String,List<OpenHoursRule>> vOICE)
Rules for Voice Channel.
vOICE - Rules for Voice Channel.public OpenHours withVOICE(Map<String,List<OpenHoursRule>> vOICE)
Rules for Voice Channel.
vOICE - Rules for Voice Channel.public OpenHours addVOICEEntry(String key, List<OpenHoursRule> value)
public OpenHours clearVOICEEntries()
public Map<String,List<OpenHoursRule>> getCUSTOM()
Rules for Custom Channel.
public void setCUSTOM(Map<String,List<OpenHoursRule>> cUSTOM)
Rules for Custom Channel.
cUSTOM - Rules for Custom Channel.public OpenHours withCUSTOM(Map<String,List<OpenHoursRule>> cUSTOM)
Rules for Custom Channel.
cUSTOM - Rules for Custom Channel.public OpenHours addCUSTOMEntry(String key, List<OpenHoursRule> value)
public OpenHours clearCUSTOMEntries()
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.