@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenHours extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the times when message are allowed to be sent to endpoints.
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()
Specifies the schedule settings for the custom channel.
|
Map<String,List<OpenHoursRule>> |
getEMAIL()
Specifies the schedule settings for the email channel.
|
Map<String,List<OpenHoursRule>> |
getPUSH()
Specifies the schedule settings for the push channel.
|
Map<String,List<OpenHoursRule>> |
getSMS()
Specifies the schedule settings for the SMS channel.
|
Map<String,List<OpenHoursRule>> |
getVOICE()
Specifies the schedule settings for the voice channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCUSTOM(Map<String,List<OpenHoursRule>> cUSTOM)
Specifies the schedule settings for the custom channel.
|
void |
setEMAIL(Map<String,List<OpenHoursRule>> eMAIL)
Specifies the schedule settings for the email channel.
|
void |
setPUSH(Map<String,List<OpenHoursRule>> pUSH)
Specifies the schedule settings for the push channel.
|
void |
setSMS(Map<String,List<OpenHoursRule>> sMS)
Specifies the schedule settings for the SMS channel.
|
void |
setVOICE(Map<String,List<OpenHoursRule>> vOICE)
Specifies the schedule settings for the voice channel.
|
String |
toString()
Returns a string representation of this object.
|
OpenHours |
withCUSTOM(Map<String,List<OpenHoursRule>> cUSTOM)
Specifies the schedule settings for the custom channel.
|
OpenHours |
withEMAIL(Map<String,List<OpenHoursRule>> eMAIL)
Specifies the schedule settings for the email channel.
|
OpenHours |
withPUSH(Map<String,List<OpenHoursRule>> pUSH)
Specifies the schedule settings for the push channel.
|
OpenHours |
withSMS(Map<String,List<OpenHoursRule>> sMS)
Specifies the schedule settings for the SMS channel.
|
OpenHours |
withVOICE(Map<String,List<OpenHoursRule>> vOICE)
Specifies the schedule settings for the voice channel.
|
public Map<String,List<OpenHoursRule>> getEMAIL()
Specifies the schedule settings for the email channel.
public void setEMAIL(Map<String,List<OpenHoursRule>> eMAIL)
Specifies the schedule settings for the email channel.
eMAIL
- Specifies the schedule settings for the email channel.public OpenHours withEMAIL(Map<String,List<OpenHoursRule>> eMAIL)
Specifies the schedule settings for the email channel.
eMAIL
- Specifies the schedule settings for the email channel.public OpenHours addEMAILEntry(String key, List<OpenHoursRule> value)
public OpenHours clearEMAILEntries()
public Map<String,List<OpenHoursRule>> getSMS()
Specifies the schedule settings for the SMS channel.
public void setSMS(Map<String,List<OpenHoursRule>> sMS)
Specifies the schedule settings for the SMS channel.
sMS
- Specifies the schedule settings for the SMS channel.public OpenHours withSMS(Map<String,List<OpenHoursRule>> sMS)
Specifies the schedule settings for the SMS channel.
sMS
- Specifies the schedule settings for the SMS channel.public OpenHours addSMSEntry(String key, List<OpenHoursRule> value)
public OpenHours clearSMSEntries()
public Map<String,List<OpenHoursRule>> getPUSH()
Specifies the schedule settings for the push channel.
public void setPUSH(Map<String,List<OpenHoursRule>> pUSH)
Specifies the schedule settings for the push channel.
pUSH
- Specifies the schedule settings for the push channel.public OpenHours withPUSH(Map<String,List<OpenHoursRule>> pUSH)
Specifies the schedule settings for the push channel.
pUSH
- Specifies the schedule settings for the push channel.public OpenHours addPUSHEntry(String key, List<OpenHoursRule> value)
public OpenHours clearPUSHEntries()
public Map<String,List<OpenHoursRule>> getVOICE()
Specifies the schedule settings for the voice channel.
public void setVOICE(Map<String,List<OpenHoursRule>> vOICE)
Specifies the schedule settings for the voice channel.
vOICE
- Specifies the schedule settings for the voice channel.public OpenHours withVOICE(Map<String,List<OpenHoursRule>> vOICE)
Specifies the schedule settings for the voice channel.
vOICE
- Specifies the schedule settings for the voice channel.public OpenHours addVOICEEntry(String key, List<OpenHoursRule> value)
public OpenHours clearVOICEEntries()
public Map<String,List<OpenHoursRule>> getCUSTOM()
Specifies the schedule settings for the custom channel.
public void setCUSTOM(Map<String,List<OpenHoursRule>> cUSTOM)
Specifies the schedule settings for the custom channel.
cUSTOM
- Specifies the schedule settings for the custom channel.public OpenHours withCUSTOM(Map<String,List<OpenHoursRule>> cUSTOM)
Specifies the schedule settings for the custom channel.
cUSTOM
- Specifies the schedule settings for the custom channel.public OpenHours addCUSTOMEntry(String key, List<OpenHoursRule> value)
public OpenHours clearCUSTOMEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.