@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClosedDaysRule extends Object implements Serializable, Cloneable, StructuredPojo
Closed Days Rule. Part of Journey sending schedule.
Constructor and Description |
---|
ClosedDaysRule() |
Modifier and Type | Method and Description |
---|---|
ClosedDaysRule |
clone() |
boolean |
equals(Object obj) |
String |
getEndDateTime()
End Datetime in ISO 8601 format.
|
String |
getName()
Name of the rule.
|
String |
getStartDateTime()
Start Datetime in ISO 8601 format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndDateTime(String endDateTime)
End Datetime in ISO 8601 format.
|
void |
setName(String name)
Name of the rule.
|
void |
setStartDateTime(String startDateTime)
Start Datetime in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
ClosedDaysRule |
withEndDateTime(String endDateTime)
End Datetime in ISO 8601 format.
|
ClosedDaysRule |
withName(String name)
Name of the rule.
|
ClosedDaysRule |
withStartDateTime(String startDateTime)
Start Datetime in ISO 8601 format.
|
public void setName(String name)
Name of the rule.
name
- Name of the rule.public String getName()
Name of the rule.
public ClosedDaysRule withName(String name)
Name of the rule.
name
- Name of the rule.public void setStartDateTime(String startDateTime)
Start Datetime in ISO 8601 format.
startDateTime
- Start Datetime in ISO 8601 format.public String getStartDateTime()
Start Datetime in ISO 8601 format.
public ClosedDaysRule withStartDateTime(String startDateTime)
Start Datetime in ISO 8601 format.
startDateTime
- Start Datetime in ISO 8601 format.public void setEndDateTime(String endDateTime)
End Datetime in ISO 8601 format.
endDateTime
- End Datetime in ISO 8601 format.public String getEndDateTime()
End Datetime in ISO 8601 format.
public ClosedDaysRule withEndDateTime(String endDateTime)
End Datetime in ISO 8601 format.
endDateTime
- End Datetime in ISO 8601 format.public String toString()
toString
in class Object
Object.toString()
public ClosedDaysRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.