Interface MultiConditionalSplitActivity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MultiConditionalSplitActivity.Builder,,MultiConditionalSplitActivity> SdkBuilder<MultiConditionalSplitActivity.Builder,,MultiConditionalSplitActivity> SdkPojo
- Enclosing class:
MultiConditionalSplitActivity
-
Method Summary
Modifier and TypeMethodDescriptionbranches(Collection<MultiConditionalBranch> branches) The paths for the activity, including the conditions for entering each path and the activity to perform for each path.branches(Consumer<MultiConditionalBranch.Builder>... branches) The paths for the activity, including the conditions for entering each path and the activity to perform for each path.branches(MultiConditionalBranch... branches) The paths for the activity, including the conditions for entering each path and the activity to perform for each path.defaultActivity(String defaultActivity) The unique identifier for the activity to perform for participants who don't meet any of the conditions specified for other paths in the activity.evaluationWaitTime(Consumer<WaitTime.Builder> evaluationWaitTime) The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.evaluationWaitTime(WaitTime evaluationWaitTime) The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
branches
The paths for the activity, including the conditions for entering each path and the activity to perform for each path.
- Parameters:
branches- The paths for the activity, including the conditions for entering each path and the activity to perform for each path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branches
The paths for the activity, including the conditions for entering each path and the activity to perform for each path.
- Parameters:
branches- The paths for the activity, including the conditions for entering each path and the activity to perform for each path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branches
MultiConditionalSplitActivity.Builder branches(Consumer<MultiConditionalBranch.Builder>... branches) The paths for the activity, including the conditions for entering each path and the activity to perform for each path.
This is a convenience method that creates an instance of theMultiConditionalBranch.Builderavoiding the need to create one manually viaMultiConditionalBranch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobranches(List<MultiConditionalBranch>).- Parameters:
branches- a consumer that will call methods onMultiConditionalBranch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultActivity
The unique identifier for the activity to perform for participants who don't meet any of the conditions specified for other paths in the activity.
- Parameters:
defaultActivity- The unique identifier for the activity to perform for participants who don't meet any of the conditions specified for other paths in the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationWaitTime
The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
- Parameters:
evaluationWaitTime- The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationWaitTime
default MultiConditionalSplitActivity.Builder evaluationWaitTime(Consumer<WaitTime.Builder> evaluationWaitTime) The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
This is a convenience method that creates an instance of theWaitTime.Builderavoiding the need to create one manually viaWaitTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationWaitTime(WaitTime).- Parameters:
evaluationWaitTime- a consumer that will call methods onWaitTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-