@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HoldoutActivity extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings for a holdout activity in a journey. This type of activity stops a journey for a specified percentage of participants.
Constructor and Description |
---|
HoldoutActivity() |
Modifier and Type | Method and Description |
---|---|
HoldoutActivity |
clone() |
boolean |
equals(Object obj) |
String |
getNextActivity()
The unique identifier for the next activity to perform, after performing the holdout activity.
|
Integer |
getPercentage()
The percentage of participants who shouldn't continue the journey.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the holdout activity.
|
void |
setPercentage(Integer percentage)
The percentage of participants who shouldn't continue the journey.
|
String |
toString()
Returns a string representation of this object.
|
HoldoutActivity |
withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the holdout activity.
|
HoldoutActivity |
withPercentage(Integer percentage)
The percentage of participants who shouldn't continue the journey.
|
public void setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the holdout activity.
nextActivity
- The unique identifier for the next activity to perform, after performing the holdout activity.public String getNextActivity()
The unique identifier for the next activity to perform, after performing the holdout activity.
public HoldoutActivity withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after performing the holdout activity.
nextActivity
- The unique identifier for the next activity to perform, after performing the holdout activity.public void setPercentage(Integer percentage)
The percentage of participants who shouldn't continue the journey.
To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.
percentage
- The percentage of participants who shouldn't continue the journey.
To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.
public Integer getPercentage()
The percentage of participants who shouldn't continue the journey.
To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.
To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.
public HoldoutActivity withPercentage(Integer percentage)
The percentage of participants who shouldn't continue the journey.
To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.
percentage
- The percentage of participants who shouldn't continue the journey.
To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.
public String toString()
toString
in class Object
Object.toString()
public HoldoutActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.