@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Plan extends Object implements Serializable, Cloneable, StructuredPojo
The stages that an escalation plan or engagement plan engages contacts and contact methods in.
Constructor and Description |
---|
Plan() |
Modifier and Type | Method and Description |
---|---|
Plan |
clone() |
boolean |
equals(Object obj) |
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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.