@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClosedDaysRule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the rule settings for when messages can't be sent.
Constructor and Description |
---|
ClosedDaysRule() |
Modifier and Type | Method and Description |
---|---|
ClosedDaysRule |
clone() |
boolean |
equals(Object obj) |
String |
getEndDateTime()
End DateTime ISO 8601 format
|
String |
getName()
The name of the closed day rule.
|
String |
getStartDateTime()
Start DateTime ISO 8601 format
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndDateTime(String endDateTime)
End DateTime ISO 8601 format
|
void |
setName(String name)
The name of the closed day rule.
|
void |
setStartDateTime(String startDateTime)
Start DateTime ISO 8601 format
|
String |
toString()
Returns a string representation of this object.
|
ClosedDaysRule |
withEndDateTime(String endDateTime)
End DateTime ISO 8601 format
|
ClosedDaysRule |
withName(String name)
The name of the closed day rule.
|
ClosedDaysRule |
withStartDateTime(String startDateTime)
Start DateTime ISO 8601 format
|
public void setName(String name)
The name of the closed day rule.
name
- The name of the closed day rule.public String getName()
The name of the closed day rule.
public ClosedDaysRule withName(String name)
The name of the closed day rule.
name
- The name of the closed day rule.public void setStartDateTime(String startDateTime)
Start DateTime ISO 8601 format
startDateTime
- Start DateTime ISO 8601 formatpublic String getStartDateTime()
Start DateTime ISO 8601 format
public ClosedDaysRule withStartDateTime(String startDateTime)
Start DateTime ISO 8601 format
startDateTime
- Start DateTime ISO 8601 formatpublic void setEndDateTime(String endDateTime)
End DateTime ISO 8601 format
endDateTime
- End DateTime ISO 8601 formatpublic String getEndDateTime()
End DateTime ISO 8601 format
public ClosedDaysRule withEndDateTime(String endDateTime)
End DateTime ISO 8601 format
endDateTime
- End DateTime ISO 8601 formatpublic String toString()
toString
in class Object
Object.toString()
public ClosedDaysRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.