Interface RandomSplitActivity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RandomSplitActivity.Builder,,RandomSplitActivity> SdkBuilder<RandomSplitActivity.Builder,,RandomSplitActivity> SdkPojo
- Enclosing class:
RandomSplitActivity
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaRandomSplitEntry.builder().When the
Consumercompletes,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:
-