@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WaitActivity extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings for a wait activity in a journey. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
Constructor and Description |
---|
WaitActivity() |
Modifier and Type | Method and Description |
---|---|
WaitActivity |
clone() |
boolean |
equals(Object obj) |
String |
getNextActivity()
The unique identifier for the next activity to perform, after performing the wait activity.
|
WaitTime |
getWaitTime()
The amount of time to wait or the date and time when the activity moves participants to the next activity in the
journey.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the wait activity.
|
void |
setWaitTime(WaitTime waitTime)
The amount of time to wait or the date and time when the activity moves participants to the next activity in the
journey.
|
String |
toString()
Returns a string representation of this object.
|
WaitActivity |
withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the wait activity.
|
WaitActivity |
withWaitTime(WaitTime waitTime)
The amount of time to wait or the date and time when the activity moves participants to the next activity in the
journey.
|
public void setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the wait activity.
nextActivity
- The unique identifier for the next activity to perform, after performing the wait activity.public String getNextActivity()
The unique identifier for the next activity to perform, after performing the wait activity.
public WaitActivity withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the wait activity.
nextActivity
- The unique identifier for the next activity to perform, after performing the wait activity.public void setWaitTime(WaitTime waitTime)
The amount of time to wait or the date and time when the activity moves participants to the next activity in the journey.
waitTime
- The amount of time to wait or the date and time when the activity moves participants to the next activity
in the journey.public WaitTime getWaitTime()
The amount of time to wait or the date and time when the activity moves participants to the next activity in the journey.
public WaitActivity withWaitTime(WaitTime waitTime)
The amount of time to wait or the date and time when the activity moves participants to the next activity in the journey.
waitTime
- The amount of time to wait or the date and time when the activity moves participants to the next activity
in the journey.public String toString()
toString
in class Object
Object.toString()
public WaitActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.