Interface ConditionalSplitActivity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConditionalSplitActivity.Builder,
,ConditionalSplitActivity> SdkBuilder<ConditionalSplitActivity.Builder,
,ConditionalSplitActivity> SdkPojo
- Enclosing class:
ConditionalSplitActivity
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConditionalSplitActivity.Builder
condition
(Consumer<Condition.Builder> condition) The conditions that define the paths for the activity, and the relationship between the conditions.The conditions that define the paths for the activity, and the relationship between the conditions.default ConditionalSplitActivity.Builder
evaluationWaitTime
(Consumer<WaitTime.Builder> evaluationWaitTime) The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.evaluationWaitTime
(WaitTime evaluationWaitTime) The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.falseActivity
(String falseActivity) The unique identifier for the activity to perform if the conditions aren't met.trueActivity
(String trueActivity) The unique identifier for the activity to perform if 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 Details
-
condition
The conditions that define the paths for the activity, and the relationship between the conditions.
- Parameters:
condition
- The conditions that define the paths for the activity, and the relationship between the conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The conditions that define the paths for the activity, and the relationship between the conditions.
This is a convenience method that creates an instance of theCondition.Builder
avoiding the need to create one manually viaCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocondition(Condition)
.- Parameters:
condition
- a consumer that will call methods onCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationWaitTime
The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.
- Parameters:
evaluationWaitTime
- The amount of time to wait before determining whether the conditions are met, 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 ConditionalSplitActivity.Builder evaluationWaitTime(Consumer<WaitTime.Builder> evaluationWaitTime) The amount of time to wait before determining whether the conditions are met, 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.Builder
avoiding the need to create one manually viaWaitTime.builder()
.When the
Consumer
completes,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:
-
falseActivity
The unique identifier for the activity to perform if the conditions aren't met.
- Parameters:
falseActivity
- The unique identifier for the activity to perform if the conditions aren't met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trueActivity
The unique identifier for the activity to perform if the conditions are met.
- Parameters:
trueActivity
- The unique identifier for the activity to perform if the conditions are met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-