Class WaitActivity
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.WaitActivity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WaitActivity.Builder,WaitActivity>
@Generated("software.amazon.awssdk:codegen") public final class WaitActivity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WaitActivity.Builder,WaitActivity>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWaitActivity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WaitActivity.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnextActivity()The unique identifier for the next activity to perform, after performing the wait activity.List<SdkField<?>>sdkFields()static Class<? extends WaitActivity.Builder>serializableBuilderClass()WaitActivity.BuildertoBuilder()StringtoString()Returns a string representation of this object.WaitTimewaitTime()The amount of time to wait or the date and time when the activity moves participants to the next activity in the journey.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
nextActivity
public final String nextActivity()
The unique identifier for the next activity to perform, after performing the wait activity.
- Returns:
- The unique identifier for the next activity to perform, after performing the wait activity.
-
waitTime
public final 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.
- Returns:
- The amount of time to wait or the date and time when the activity moves participants to the next activity in the journey.
-
toBuilder
public WaitActivity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WaitActivity.Builder,WaitActivity>
-
builder
public static WaitActivity.Builder builder()
-
serializableBuilderClass
public static Class<? extends WaitActivity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-