Interface RandomSplitActivity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RandomSplitActivity.Builder,
,RandomSplitActivity> SdkBuilder<RandomSplitActivity.Builder,
,RandomSplitActivity> SdkPojo
- Enclosing class:
RandomSplitActivity
public static interface RandomSplitActivity.Builder
extends SdkPojo, CopyableBuilder<RandomSplitActivity.Builder,RandomSplitActivity>
-
Method Summary
Modifier and TypeMethodDescriptionbranches
(Collection<RandomSplitEntry> branches) The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.branches
(Consumer<RandomSplitEntry.Builder>... branches) The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.branches
(RandomSplitEntry... branches) The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.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
-
branches
The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.
- Parameters:
branches
- The paths for the activity, including the percentage of participants to enter 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 percentage of participants to enter each path and the activity to perform for each path.
- Parameters:
branches
- The paths for the activity, including the percentage of participants to enter 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 percentage of participants to enter each path and the activity to perform for each path.
This is a convenience method that creates an instance of theRandomSplitEntry.Builder
avoiding the need to create one manually viaRandomSplitEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobranches(List<RandomSplitEntry>)
.- Parameters:
branches
- a consumer that will call methods onRandomSplitEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-