public static interface RandomSplitActivity.Builder extends SdkPojo, CopyableBuilder<RandomSplitActivity.Builder,RandomSplitActivity>
| Modifier and Type | Method and Description |
|---|---|
RandomSplitActivity.Builder |
branches(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.
|
RandomSplitActivity.Builder |
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.
|
RandomSplitActivity.Builder |
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRandomSplitActivity.Builder branches(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 - The paths for the activity, including the percentage of participants to enter each path and the
activity to perform for each path.RandomSplitActivity.Builder 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.
branches - The paths for the activity, including the percentage of participants to enter each path and the
activity to perform for each path.RandomSplitActivity.Builder 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.
This is a convenience method that creates an instance of theRandomSplitEntry.Builder avoiding the need to create
one manually via RandomSplitEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #branches(List.
branches - a consumer that will call methods on
RandomSplitEntry.Builder#branches(java.util.Collection) Copyright © 2023. All rights reserved.