@Generated(value="software.amazon.awssdk:codegen") public final class HoldoutActivity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HoldoutActivity.Builder,HoldoutActivity>
Specifies the settings for a holdout activity in a journey. This type of activity stops a journey for a specified percentage of participants.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HoldoutActivity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HoldoutActivity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
nextActivity()
The unique identifier for the next activity to perform, after performing the holdout activity.
|
Integer |
percentage()
The percentage of participants who shouldn't continue the journey.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HoldoutActivity.Builder> |
serializableBuilderClass() |
HoldoutActivity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nextActivity()
The unique identifier for the next activity to perform, after performing the holdout activity.
public final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HoldoutActivity.Builder,HoldoutActivity>public static HoldoutActivity.Builder builder()
public static Class<? extends HoldoutActivity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.