@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Activity extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration and other settings for an activity in a journey.
Constructor and Description |
---|
Activity() |
Modifier and Type | Method and Description |
---|---|
Activity |
clone() |
boolean |
equals(Object obj) |
ConditionalSplitActivity |
getConditionalSplit()
The settings for a yes/no split activity.
|
CustomMessageActivity |
getCUSTOM()
The settings for a custom message activity.
|
String |
getDescription()
The custom description of the activity.
|
EmailMessageActivity |
getEMAIL()
The settings for an email activity.
|
HoldoutActivity |
getHoldout()
The settings for a holdout activity.
|
MultiConditionalSplitActivity |
getMultiCondition()
The settings for a multivariate split activity.
|
PushMessageActivity |
getPUSH()
The settings for a push notification activity.
|
RandomSplitActivity |
getRandomSplit()
The settings for a random split activity.
|
SMSMessageActivity |
getSMS()
The settings for an SMS activity.
|
WaitActivity |
getWait()
The settings for a wait activity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConditionalSplit(ConditionalSplitActivity conditionalSplit)
The settings for a yes/no split activity.
|
void |
setCUSTOM(CustomMessageActivity cUSTOM)
The settings for a custom message activity.
|
void |
setDescription(String description)
The custom description of the activity.
|
void |
setEMAIL(EmailMessageActivity eMAIL)
The settings for an email activity.
|
void |
setHoldout(HoldoutActivity holdout)
The settings for a holdout activity.
|
void |
setMultiCondition(MultiConditionalSplitActivity multiCondition)
The settings for a multivariate split activity.
|
void |
setPUSH(PushMessageActivity pUSH)
The settings for a push notification activity.
|
void |
setRandomSplit(RandomSplitActivity randomSplit)
The settings for a random split activity.
|
void |
setSMS(SMSMessageActivity sMS)
The settings for an SMS activity.
|
void |
setWait(WaitActivity wait)
The settings for a wait activity.
|
String |
toString()
Returns a string representation of this object.
|
Activity |
withConditionalSplit(ConditionalSplitActivity conditionalSplit)
The settings for a yes/no split activity.
|
Activity |
withCUSTOM(CustomMessageActivity cUSTOM)
The settings for a custom message activity.
|
Activity |
withDescription(String description)
The custom description of the activity.
|
Activity |
withEMAIL(EmailMessageActivity eMAIL)
The settings for an email activity.
|
Activity |
withHoldout(HoldoutActivity holdout)
The settings for a holdout activity.
|
Activity |
withMultiCondition(MultiConditionalSplitActivity multiCondition)
The settings for a multivariate split activity.
|
Activity |
withPUSH(PushMessageActivity pUSH)
The settings for a push notification activity.
|
Activity |
withRandomSplit(RandomSplitActivity randomSplit)
The settings for a random split activity.
|
Activity |
withSMS(SMSMessageActivity sMS)
The settings for an SMS activity.
|
Activity |
withWait(WaitActivity wait)
The settings for a wait activity.
|
public void setCUSTOM(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.
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 CustomMessageActivity getCUSTOM()
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 Activity withCUSTOM(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.
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 void setConditionalSplit(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.
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 ConditionalSplitActivity getConditionalSplit()
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 Activity withConditionalSplit(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.
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 void setDescription(String description)
The custom description of the activity.
description
- The custom description of the activity.public String getDescription()
The custom description of the activity.
public Activity withDescription(String description)
The custom description of the activity.
description
- The custom description of the activity.public void setEMAIL(EmailMessageActivity eMAIL)
The settings for an email activity. This type of activity sends an email message to participants.
eMAIL
- The settings for an email activity. This type of activity sends an email message to participants.public EmailMessageActivity getEMAIL()
The settings for an email activity. This type of activity sends an email message to participants.
public Activity withEMAIL(EmailMessageActivity eMAIL)
The settings for an email activity. This type of activity sends an email message to participants.
eMAIL
- The settings for an email activity. This type of activity sends an email message to participants.public void setHoldout(HoldoutActivity holdout)
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
holdout
- The settings for a holdout activity. This type of activity stops a journey for a specified percentage of
participants.public HoldoutActivity getHoldout()
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
public Activity withHoldout(HoldoutActivity holdout)
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
holdout
- The settings for a holdout activity. This type of activity stops a journey for a specified percentage of
participants.public void setMultiCondition(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.
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 MultiConditionalSplitActivity getMultiCondition()
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 Activity withMultiCondition(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.
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 void setPUSH(PushMessageActivity pUSH)
The settings for a push notification activity. This type of activity sends a push notification to participants.
pUSH
- The settings for a push notification activity. This type of activity sends a push notification to
participants.public PushMessageActivity getPUSH()
The settings for a push notification activity. This type of activity sends a push notification to participants.
public Activity withPUSH(PushMessageActivity pUSH)
The settings for a push notification activity. This type of activity sends a push notification to participants.
pUSH
- The settings for a push notification activity. This type of activity sends a push notification to
participants.public void setRandomSplit(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.
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 RandomSplitActivity getRandomSplit()
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 Activity withRandomSplit(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.
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 void setSMS(SMSMessageActivity sMS)
The settings for an SMS activity. This type of activity sends a text message to participants.
sMS
- The settings for an SMS activity. This type of activity sends a text message to participants.public SMSMessageActivity getSMS()
The settings for an SMS activity. This type of activity sends a text message to participants.
public Activity withSMS(SMSMessageActivity sMS)
The settings for an SMS activity. This type of activity sends a text message to participants.
sMS
- The settings for an SMS activity. This type of activity sends a text message to participants.public void setWait(WaitActivity wait)
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.
wait
- 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 WaitActivity getWait()
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 withWait(WaitActivity wait)
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.
wait
- 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 String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.