@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RandomSplitActivity extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings for a random split activity in a journey. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.
Constructor and Description |
---|
RandomSplitActivity() |
Modifier and Type | Method and Description |
---|---|
RandomSplitActivity |
clone() |
boolean |
equals(Object obj) |
List<RandomSplitEntry> |
getBranches()
The paths for the activity, including the percentage of participants to enter each path and the activity to
perform for each path.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBranches(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.
|
String |
toString()
Returns a string representation of this object.
|
RandomSplitActivity |
withBranches(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 |
withBranches(RandomSplitEntry... branches)
The paths for the activity, including the percentage of participants to enter each path and the activity to
perform for each path.
|
public List<RandomSplitEntry> getBranches()
The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.
public void setBranches(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.public RandomSplitActivity withBranches(RandomSplitEntry... branches)
The paths for the activity, including the percentage of participants to enter each path and the activity to perform for each path.
NOTE: This method appends the values to the existing list (if any). Use
setBranches(java.util.Collection)
or withBranches(java.util.Collection)
if you want to override
the existing values.
branches
- The paths for the activity, including the percentage of participants to enter each path and the activity
to perform for each path.public RandomSplitActivity withBranches(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.public String toString()
toString
in class Object
Object.toString()
public RandomSplitActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.