@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WaitTime extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a duration or a date and time that indicates when Amazon Pinpoint determines whether an activity's conditions have been met or an activity moves participants to the next activity in a journey.
Constructor and Description |
---|
WaitTime() |
Modifier and Type | Method and Description |
---|---|
WaitTime |
clone() |
boolean |
equals(Object obj) |
String |
getWaitFor()
The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's
conditions have been met or moving participants to the next activity in the journey.
|
String |
getWaitUntil()
The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have
been met or 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 |
setWaitFor(String waitFor)
The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's
conditions have been met or moving participants to the next activity in the journey.
|
void |
setWaitUntil(String waitUntil)
The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have
been met or the activity moves participants to the next activity in the journey.
|
String |
toString()
Returns a string representation of this object.
|
WaitTime |
withWaitFor(String waitFor)
The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's
conditions have been met or moving participants to the next activity in the journey.
|
WaitTime |
withWaitUntil(String waitUntil)
The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have
been met or the activity moves participants to the next activity in the journey.
|
public void setWaitFor(String waitFor)
The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's conditions have been met or moving participants to the next activity in the journey.
waitFor
- The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's
conditions have been met or moving participants to the next activity in the journey.public String getWaitFor()
The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's conditions have been met or moving participants to the next activity in the journey.
public WaitTime withWaitFor(String waitFor)
The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's conditions have been met or moving participants to the next activity in the journey.
waitFor
- The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's
conditions have been met or moving participants to the next activity in the journey.public void setWaitUntil(String waitUntil)
The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have been met or the activity moves participants to the next activity in the journey.
waitUntil
- The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions
have been met or the activity moves participants to the next activity in the journey.public String getWaitUntil()
The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have been met or the activity moves participants to the next activity in the journey.
public WaitTime withWaitUntil(String waitUntil)
The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have been met or the activity moves participants to the next activity in the journey.
waitUntil
- The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions
have been met or the activity moves participants to the next activity in the journey.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.