Interface MultiConditionalSplitActivity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MultiConditionalSplitActivity.Builder,MultiConditionalSplitActivity>,SdkBuilder<MultiConditionalSplitActivity.Builder,MultiConditionalSplitActivity>,SdkPojo
- Enclosing class:
- MultiConditionalSplitActivity
public static interface MultiConditionalSplitActivity.Builder extends SdkPojo, CopyableBuilder<MultiConditionalSplitActivity.Builder,MultiConditionalSplitActivity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MultiConditionalSplitActivity.Builderbranches(Collection<MultiConditionalBranch> branches)The paths for the activity, including the conditions for entering each path and the activity to perform for each path.MultiConditionalSplitActivity.Builderbranches(Consumer<MultiConditionalBranch.Builder>... branches)The paths for the activity, including the conditions for entering each path and the activity to perform for each path.MultiConditionalSplitActivity.Builderbranches(MultiConditionalBranch... branches)The paths for the activity, including the conditions for entering each path and the activity to perform for each path.MultiConditionalSplitActivity.BuilderdefaultActivity(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.default MultiConditionalSplitActivity.BuilderevaluationWaitTime(Consumer<WaitTime.Builder> evaluationWaitTime)The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.MultiConditionalSplitActivity.BuilderevaluationWaitTime(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
branches
MultiConditionalSplitActivity.Builder branches(Collection<MultiConditionalBranch> 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(MultiConditionalBranch... 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 to#branches(List.) - 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:
#branches(java.util.Collection)
-
defaultActivity
MultiConditionalSplitActivity.Builder 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.
- 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
MultiConditionalSplitActivity.Builder evaluationWaitTime(WaitTime 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:
evaluationWaitTime(WaitTime)
-
-