@Generated(value="software.amazon.awssdk:codegen") public final class ConditionalSplitActivity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConditionalSplitActivity.Builder,ConditionalSplitActivity>
Specifies the settings for a yes/no split activity in a journey. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
To create yes/no split activities that send participants down different paths based on push notification events (such as Open or Received events), your mobile app has to specify the User ID and Endpoint ID values. For more information, see Integrating Amazon Pinpoint with your application in the Amazon Pinpoint Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConditionalSplitActivity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConditionalSplitActivity.Builder |
builder() |
Condition |
condition()
The conditions that define the paths for the activity, and the relationship between the conditions.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
WaitTime |
evaluationWaitTime()
The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon
Pinpoint determines whether the conditions are met.
|
String |
falseActivity()
The unique identifier for the activity to perform if the conditions aren't met.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConditionalSplitActivity.Builder> |
serializableBuilderClass() |
ConditionalSplitActivity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trueActivity()
The unique identifier for the activity to perform if the conditions are met.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Condition condition()
The conditions that define the paths for the activity, and the relationship between the conditions.
public final WaitTime evaluationWaitTime()
The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.
public final String falseActivity()
The unique identifier for the activity to perform if the conditions aren't met.
public final String trueActivity()
The unique identifier for the activity to perform if the conditions are met.
public ConditionalSplitActivity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConditionalSplitActivity.Builder,ConditionalSplitActivity>public static ConditionalSplitActivity.Builder builder()
public static Class<? extends ConditionalSplitActivity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.