@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RandomSplitEntry extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings for a path in a random split activity in a journey.
Constructor and Description |
---|
RandomSplitEntry() |
Modifier and Type | Method and Description |
---|---|
RandomSplitEntry |
clone() |
boolean |
equals(Object obj) |
String |
getNextActivity()
The unique identifier for the next activity to perform, after completing the activity for the path.
|
Integer |
getPercentage()
The percentage of participants to send down the activity path.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
|
void |
setPercentage(Integer percentage)
The percentage of participants to send down the activity path.
|
String |
toString()
Returns a string representation of this object.
|
RandomSplitEntry |
withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
|
RandomSplitEntry |
withPercentage(Integer percentage)
The percentage of participants to send down the activity path.
|
public void setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
nextActivity
- The unique identifier for the next activity to perform, after completing the activity for the path.public String getNextActivity()
The unique identifier for the next activity to perform, after completing the activity for the path.
public RandomSplitEntry withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
nextActivity
- The unique identifier for the next activity to perform, after completing the activity for the path.public void setPercentage(Integer percentage)
The percentage of participants to send down the activity path.
To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.
percentage
- The percentage of participants to send down the activity path.
To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.
public Integer getPercentage()
The percentage of participants to send down the activity path.
To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.
To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.
public RandomSplitEntry withPercentage(Integer percentage)
The percentage of participants to send down the activity path.
To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.
percentage
- The percentage of participants to send down the activity path.
To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.
public String toString()
toString
in class Object
Object.toString()
public RandomSplitEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.