@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MultiConditionalBranch extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a condition to evaluate for an activity path in a journey.
Constructor and Description |
---|
MultiConditionalBranch() |
Modifier and Type | Method and Description |
---|---|
MultiConditionalBranch |
clone() |
boolean |
equals(Object obj) |
SimpleCondition |
getCondition()
The condition to evaluate for the activity path.
|
String |
getNextActivity()
The unique identifier for the next activity to perform, after completing the activity for the path.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCondition(SimpleCondition condition)
The condition to evaluate for the activity path.
|
void |
setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
|
String |
toString()
Returns a string representation of this object.
|
MultiConditionalBranch |
withCondition(SimpleCondition condition)
The condition to evaluate for the activity path.
|
MultiConditionalBranch |
withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
|
public void setCondition(SimpleCondition condition)
The condition to evaluate for the activity path.
condition
- The condition to evaluate for the activity path.public SimpleCondition getCondition()
The condition to evaluate for the activity path.
public MultiConditionalBranch withCondition(SimpleCondition condition)
The condition to evaluate for the activity path.
condition
- The condition to evaluate for the activity path.public void setNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
nextActivity
- The unique identifier for the next activity to perform, after completing the activity for the path.public String getNextActivity()
The unique identifier for the next activity to perform, after completing the activity for the path.
public MultiConditionalBranch withNextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
nextActivity
- The unique identifier for the next activity to perform, after completing the activity for the path.public String toString()
toString
in class Object
Object.toString()
public MultiConditionalBranch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.