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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RandomSplitActivity.Builderbranches(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.Builderbranches(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.Builderbranches(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 Detail
-
branches
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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaRandomSplitEntry.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 onRandomSplitEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#branches(java.util.Collection)
-
-