@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PreviewOverride extends Object implements Serializable, Cloneable, StructuredPojo
Information about contacts and times that an on-call override replaces.
Constructor and Description |
---|
PreviewOverride() |
Modifier and Type | Method and Description |
---|---|
PreviewOverride |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
Information about the time a rotation override would end.
|
List<String> |
getNewMembers()
Information about contacts to add to an on-call rotation override.
|
Date |
getStartTime()
Information about the time a rotation override would begin.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
Information about the time a rotation override would end.
|
void |
setNewMembers(Collection<String> newMembers)
Information about contacts to add to an on-call rotation override.
|
void |
setStartTime(Date startTime)
Information about the time a rotation override would begin.
|
String |
toString()
Returns a string representation of this object.
|
PreviewOverride |
withEndTime(Date endTime)
Information about the time a rotation override would end.
|
PreviewOverride |
withNewMembers(Collection<String> newMembers)
Information about contacts to add to an on-call rotation override.
|
PreviewOverride |
withNewMembers(String... newMembers)
Information about contacts to add to an on-call rotation override.
|
PreviewOverride |
withStartTime(Date startTime)
Information about the time a rotation override would begin.
|
public List<String> getNewMembers()
Information about contacts to add to an on-call rotation override.
public void setNewMembers(Collection<String> newMembers)
Information about contacts to add to an on-call rotation override.
newMembers
- Information about contacts to add to an on-call rotation override.public PreviewOverride withNewMembers(String... newMembers)
Information about contacts to add to an on-call rotation override.
NOTE: This method appends the values to the existing list (if any). Use
setNewMembers(java.util.Collection)
or withNewMembers(java.util.Collection)
if you want to
override the existing values.
newMembers
- Information about contacts to add to an on-call rotation override.public PreviewOverride withNewMembers(Collection<String> newMembers)
Information about contacts to add to an on-call rotation override.
newMembers
- Information about contacts to add to an on-call rotation override.public void setStartTime(Date startTime)
Information about the time a rotation override would begin.
startTime
- Information about the time a rotation override would begin.public Date getStartTime()
Information about the time a rotation override would begin.
public PreviewOverride withStartTime(Date startTime)
Information about the time a rotation override would begin.
startTime
- Information about the time a rotation override would begin.public void setEndTime(Date endTime)
Information about the time a rotation override would end.
endTime
- Information about the time a rotation override would end.public Date getEndTime()
Information about the time a rotation override would end.
public PreviewOverride withEndTime(Date endTime)
Information about the time a rotation override would end.
endTime
- Information about the time a rotation override would end.public String toString()
toString
in class Object
Object.toString()
public PreviewOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.