@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClosedDays extends Object implements Serializable, Cloneable, StructuredPojo
The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should be set to true.
| Constructor and Description |
|---|
ClosedDays() |
| Modifier and Type | Method and Description |
|---|---|
ClosedDays |
clone() |
boolean |
equals(Object obj) |
List<ClosedDaysRule> |
getCUSTOM()
Rules for the Custom channel.
|
List<ClosedDaysRule> |
getEMAIL()
Rules for the Email channel.
|
List<ClosedDaysRule> |
getPUSH()
Rules for the Push channel.
|
List<ClosedDaysRule> |
getSMS()
Rules for the SMS channel.
|
List<ClosedDaysRule> |
getVOICE()
Rules for the Voice channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCUSTOM(Collection<ClosedDaysRule> cUSTOM)
Rules for the Custom channel.
|
void |
setEMAIL(Collection<ClosedDaysRule> eMAIL)
Rules for the Email channel.
|
void |
setPUSH(Collection<ClosedDaysRule> pUSH)
Rules for the Push channel.
|
void |
setSMS(Collection<ClosedDaysRule> sMS)
Rules for the SMS channel.
|
void |
setVOICE(Collection<ClosedDaysRule> vOICE)
Rules for the Voice channel.
|
String |
toString()
Returns a string representation of this object.
|
ClosedDays |
withCUSTOM(ClosedDaysRule... cUSTOM)
Rules for the Custom channel.
|
ClosedDays |
withCUSTOM(Collection<ClosedDaysRule> cUSTOM)
Rules for the Custom channel.
|
ClosedDays |
withEMAIL(ClosedDaysRule... eMAIL)
Rules for the Email channel.
|
ClosedDays |
withEMAIL(Collection<ClosedDaysRule> eMAIL)
Rules for the Email channel.
|
ClosedDays |
withPUSH(ClosedDaysRule... pUSH)
Rules for the Push channel.
|
ClosedDays |
withPUSH(Collection<ClosedDaysRule> pUSH)
Rules for the Push channel.
|
ClosedDays |
withSMS(ClosedDaysRule... sMS)
Rules for the SMS channel.
|
ClosedDays |
withSMS(Collection<ClosedDaysRule> sMS)
Rules for the SMS channel.
|
ClosedDays |
withVOICE(ClosedDaysRule... vOICE)
Rules for the Voice channel.
|
ClosedDays |
withVOICE(Collection<ClosedDaysRule> vOICE)
Rules for the Voice channel.
|
public List<ClosedDaysRule> getEMAIL()
Rules for the Email channel.
public void setEMAIL(Collection<ClosedDaysRule> eMAIL)
Rules for the Email channel.
eMAIL - Rules for the Email channel.public ClosedDays withEMAIL(ClosedDaysRule... eMAIL)
Rules for the Email channel.
NOTE: This method appends the values to the existing list (if any). Use
setEMAIL(java.util.Collection) or withEMAIL(java.util.Collection) if you want to override the
existing values.
eMAIL - Rules for the Email channel.public ClosedDays withEMAIL(Collection<ClosedDaysRule> eMAIL)
Rules for the Email channel.
eMAIL - Rules for the Email channel.public List<ClosedDaysRule> getSMS()
Rules for the SMS channel.
public void setSMS(Collection<ClosedDaysRule> sMS)
Rules for the SMS channel.
sMS - Rules for the SMS channel.public ClosedDays withSMS(ClosedDaysRule... sMS)
Rules for the SMS channel.
NOTE: This method appends the values to the existing list (if any). Use
setSMS(java.util.Collection) or withSMS(java.util.Collection) if you want to override the
existing values.
sMS - Rules for the SMS channel.public ClosedDays withSMS(Collection<ClosedDaysRule> sMS)
Rules for the SMS channel.
sMS - Rules for the SMS channel.public List<ClosedDaysRule> getPUSH()
Rules for the Push channel.
public void setPUSH(Collection<ClosedDaysRule> pUSH)
Rules for the Push channel.
pUSH - Rules for the Push channel.public ClosedDays withPUSH(ClosedDaysRule... pUSH)
Rules for the Push channel.
NOTE: This method appends the values to the existing list (if any). Use
setPUSH(java.util.Collection) or withPUSH(java.util.Collection) if you want to override the
existing values.
pUSH - Rules for the Push channel.public ClosedDays withPUSH(Collection<ClosedDaysRule> pUSH)
Rules for the Push channel.
pUSH - Rules for the Push channel.public List<ClosedDaysRule> getVOICE()
Rules for the Voice channel.
public void setVOICE(Collection<ClosedDaysRule> vOICE)
Rules for the Voice channel.
vOICE - Rules for the Voice channel.public ClosedDays withVOICE(ClosedDaysRule... vOICE)
Rules for the Voice channel.
NOTE: This method appends the values to the existing list (if any). Use
setVOICE(java.util.Collection) or withVOICE(java.util.Collection) if you want to override the
existing values.
vOICE - Rules for the Voice channel.public ClosedDays withVOICE(Collection<ClosedDaysRule> vOICE)
Rules for the Voice channel.
vOICE - Rules for the Voice channel.public List<ClosedDaysRule> getCUSTOM()
Rules for the Custom channel.
public void setCUSTOM(Collection<ClosedDaysRule> cUSTOM)
Rules for the Custom channel.
cUSTOM - Rules for the Custom channel.public ClosedDays withCUSTOM(ClosedDaysRule... cUSTOM)
Rules for the Custom channel.
NOTE: This method appends the values to the existing list (if any). Use
setCUSTOM(java.util.Collection) or withCUSTOM(java.util.Collection) if you want to override the
existing values.
cUSTOM - Rules for the Custom channel.public ClosedDays withCUSTOM(Collection<ClosedDaysRule> cUSTOM)
Rules for the Custom channel.
cUSTOM - Rules for the Custom channel.public String toString()
toString in class ObjectObject.toString()public ClosedDays clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.