@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShiftDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about overrides to an on-call rotation shift.
Constructor and Description |
---|
ShiftDetails() |
Modifier and Type | Method and Description |
---|---|
ShiftDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getOverriddenContactIds()
The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOverriddenContactIds(Collection<String> overriddenContactIds)
The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created.
|
String |
toString()
Returns a string representation of this object.
|
ShiftDetails |
withOverriddenContactIds(Collection<String> overriddenContactIds)
The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created.
|
ShiftDetails |
withOverriddenContactIds(String... overriddenContactIds)
The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created.
|
public List<String> getOverriddenContactIds()
The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created. If the override is deleted, these contacts are restored to the shift.
public void setOverriddenContactIds(Collection<String> overriddenContactIds)
The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created. If the override is deleted, these contacts are restored to the shift.
overriddenContactIds
- The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was
created. If the override is deleted, these contacts are restored to the shift.public ShiftDetails withOverriddenContactIds(String... overriddenContactIds)
The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created. If the override is deleted, these contacts are restored to the shift.
NOTE: This method appends the values to the existing list (if any). Use
setOverriddenContactIds(java.util.Collection)
or withOverriddenContactIds(java.util.Collection)
if you want to override the existing values.
overriddenContactIds
- The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was
created. If the override is deleted, these contacts are restored to the shift.public ShiftDetails withOverriddenContactIds(Collection<String> overriddenContactIds)
The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was created. If the override is deleted, these contacts are restored to the shift.
overriddenContactIds
- The Amazon Resources Names (ARNs) of the contacts who were replaced in a shift when an override was
created. If the override is deleted, these contacts are restored to the shift.public String toString()
toString
in class Object
Object.toString()
public ShiftDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.