@Generated(value="software.amazon.awssdk:codegen") public final class Activity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Activity.Builder,Activity>
Specifies the configuration and other settings for an activity in a journey.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Activity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Activity.Builder |
builder() |
ConditionalSplitActivity |
conditionalSplit()
The settings for a yes/no split activity.
|
CustomMessageActivity |
custom()
The settings for a custom message activity.
|
String |
description()
The custom description of the activity.
|
EmailMessageActivity |
email()
The settings for an email activity.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HoldoutActivity |
holdout()
The settings for a holdout activity.
|
MultiConditionalSplitActivity |
multiCondition()
The settings for a multivariate split activity.
|
PushMessageActivity |
push()
The settings for a push notification activity.
|
RandomSplitActivity |
randomSplit()
The settings for a random split activity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Activity.Builder> |
serializableBuilderClass() |
SMSMessageActivity |
sms()
The settings for an SMS activity.
|
Activity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WaitActivity |
waitValue()
The settings for a wait activity.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CustomMessageActivity custom()
The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
public final ConditionalSplitActivity conditionalSplit()
The settings for a yes/no split activity. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
public final String description()
The custom description of the activity.
public final EmailMessageActivity email()
The settings for an email activity. This type of activity sends an email message to participants.
public final HoldoutActivity holdout()
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
public final MultiConditionalSplitActivity multiCondition()
The settings for a multivariate split activity. This type of activity sends participants down one of as many as five paths (including a default Else path) in a journey, based on conditions that you specify.
public final PushMessageActivity push()
The settings for a push notification activity. This type of activity sends a push notification to participants.
public final RandomSplitActivity randomSplit()
The settings for a random split activity. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.
public final SMSMessageActivity sms()
The settings for an SMS activity. This type of activity sends a text message to participants.
public final WaitActivity waitValue()
The settings for a wait activity. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
public Activity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Activity.Builder,Activity>public static Activity.Builder builder()
public static Class<? extends Activity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.