@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MultiConditionalSplitActivity extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings for a multivariate split activity in a journey. This type of activity sends participants down one of as many as five paths in a journey, based on conditions that you specify.
Constructor and Description |
---|
MultiConditionalSplitActivity() |
Modifier and Type | Method and Description |
---|---|
MultiConditionalSplitActivity |
clone() |
boolean |
equals(Object obj) |
List<MultiConditionalBranch> |
getBranches()
The paths for the activity, including the conditions for entering each path and the activity to perform for each
path.
|
String |
getDefaultActivity()
The activity to perform by default for any path in the activity.
|
WaitTime |
getEvaluationWaitTime()
The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBranches(Collection<MultiConditionalBranch> branches)
The paths for the activity, including the conditions for entering each path and the activity to perform for each
path.
|
void |
setDefaultActivity(String defaultActivity)
The activity to perform by default for any path in the activity.
|
void |
setEvaluationWaitTime(WaitTime evaluationWaitTime)
The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
|
String |
toString()
Returns a string representation of this object.
|
MultiConditionalSplitActivity |
withBranches(Collection<MultiConditionalBranch> branches)
The paths for the activity, including the conditions for entering each path and the activity to perform for each
path.
|
MultiConditionalSplitActivity |
withBranches(MultiConditionalBranch... branches)
The paths for the activity, including the conditions for entering each path and the activity to perform for each
path.
|
MultiConditionalSplitActivity |
withDefaultActivity(String defaultActivity)
The activity to perform by default for any path in the activity.
|
MultiConditionalSplitActivity |
withEvaluationWaitTime(WaitTime evaluationWaitTime)
The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
|
public List<MultiConditionalBranch> getBranches()
The paths for the activity, including the conditions for entering each path and the activity to perform for each path.
public void setBranches(Collection<MultiConditionalBranch> branches)
The paths for the activity, including the conditions for entering each path and the activity to perform for each path.
branches
- The paths for the activity, including the conditions for entering each path and the activity to perform
for each path.public MultiConditionalSplitActivity withBranches(MultiConditionalBranch... branches)
The paths for the activity, including the conditions for entering each path and the activity to perform for each path.
NOTE: This method appends the values to the existing list (if any). Use
setBranches(java.util.Collection)
or withBranches(java.util.Collection)
if you want to override
the existing values.
branches
- The paths for the activity, including the conditions for entering each path and the activity to perform
for each path.public MultiConditionalSplitActivity withBranches(Collection<MultiConditionalBranch> branches)
The paths for the activity, including the conditions for entering each path and the activity to perform for each path.
branches
- The paths for the activity, including the conditions for entering each path and the activity to perform
for each path.public void setDefaultActivity(String defaultActivity)
The activity to perform by default for any path in the activity.
defaultActivity
- The activity to perform by default for any path in the activity.public String getDefaultActivity()
The activity to perform by default for any path in the activity.
public MultiConditionalSplitActivity withDefaultActivity(String defaultActivity)
The activity to perform by default for any path in the activity.
defaultActivity
- The activity to perform by default for any path in the activity.public void setEvaluationWaitTime(WaitTime evaluationWaitTime)
The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
evaluationWaitTime
- The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are
met.public WaitTime getEvaluationWaitTime()
The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
public MultiConditionalSplitActivity withEvaluationWaitTime(WaitTime evaluationWaitTime)
The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.
evaluationWaitTime
- The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are
met.public String toString()
toString
in class Object
Object.toString()
public MultiConditionalSplitActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.