@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.
|
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.
|
RandomSplitActivity |
getRandomSplit()
The settings for a random split activity.
|
WaitActivity |
getWait()
The settings for a wait activity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConditionalSplit(ConditionalSplitActivity conditionalSplit)
The settings for a yes/no split 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 |
setRandomSplit(RandomSplitActivity randomSplit)
The settings for a random split 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 |
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 |
withRandomSplit(RandomSplitActivity randomSplit)
The settings for a random split activity.
|
Activity |
withWait(WaitActivity wait)
The settings for a wait activity.
|
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 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 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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.