public static interface WaitActivity.Builder extends SdkPojo, CopyableBuilder<WaitActivity.Builder,WaitActivity>
| Modifier and Type | Method and Description |
|---|---|
WaitActivity.Builder |
nextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the wait activity.
|
default WaitActivity.Builder |
waitTime(Consumer<WaitTime.Builder> waitTime)
The amount of time to wait or the date and time when the activity moves participants to the next activity in
the journey.
|
WaitActivity.Builder |
waitTime(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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWaitActivity.Builder nextActivity(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.WaitActivity.Builder waitTime(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.default WaitActivity.Builder waitTime(Consumer<WaitTime.Builder> waitTime)
The amount of time to wait or the date and time when the activity moves participants to the next activity in the journey.
This is a convenience method that creates an instance of theWaitTime.Builder avoiding the need to
create one manually via WaitTime.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to waitTime(WaitTime).
waitTime - a consumer that will call methods on WaitTime.BuilderwaitTime(WaitTime)Copyright © 2022. All rights reserved.