@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Plan extends Object implements Serializable, Cloneable, StructuredPojo
Information about the stages and on-call rotation teams associated with an escalation plan or engagement plan.
| Constructor and Description |
|---|
Plan() |
| Modifier and Type | Method and Description |
|---|---|
Plan |
clone() |
boolean |
equals(Object obj) |
List<String> |
getRotationIds()
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
|
List<Stage> |
getStages()
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRotationIds(Collection<String> rotationIds)
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
|
void |
setStages(Collection<Stage> stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
|
String |
toString()
Returns a string representation of this object.
|
Plan |
withRotationIds(Collection<String> rotationIds)
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
|
Plan |
withRotationIds(String... rotationIds)
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
|
Plan |
withStages(Collection<Stage> stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
|
Plan |
withStages(Stage... stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
|
public List<Stage> getStages()
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
public void setStages(Collection<Stage> stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
stages - A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.public Plan withStages(Stage... stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
NOTE: This method appends the values to the existing list (if any). Use
setStages(java.util.Collection) or withStages(java.util.Collection) if you want to override the
existing values.
stages - A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.public Plan withStages(Collection<Stage> stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
stages - A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.public List<String> getRotationIds()
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
public void setRotationIds(Collection<String> rotationIds)
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
rotationIds - The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.public Plan withRotationIds(String... rotationIds)
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
NOTE: This method appends the values to the existing list (if any). Use
setRotationIds(java.util.Collection) or withRotationIds(java.util.Collection) if you want to
override the existing values.
rotationIds - The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.public Plan withRotationIds(Collection<String> rotationIds)
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
rotationIds - The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.