Class HoldoutActivity
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HoldoutActivity.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe unique identifier for the next activity to perform, after performing the holdout activity.final IntegerThe percentage of participants who shouldn't continue the journey.static Class<? extends HoldoutActivity.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
nextActivity
The unique identifier for the next activity to perform, after performing the holdout activity.
- Returns:
- The unique identifier for the next activity to perform, after performing the holdout activity.
-
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.
- Returns:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<HoldoutActivity.Builder,HoldoutActivity>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-