@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartCondition extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the conditions for the first activity in a journey. This activity and its conditions determine which users are participants in a journey.
Constructor and Description |
---|
StartCondition() |
Modifier and Type | Method and Description |
---|---|
StartCondition |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The custom description of the condition.
|
EventStartCondition |
getEventStartCondition() |
SegmentCondition |
getSegmentStartCondition()
The segment that's associated with the first activity in the journey.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The custom description of the condition.
|
void |
setEventStartCondition(EventStartCondition eventStartCondition) |
void |
setSegmentStartCondition(SegmentCondition segmentStartCondition)
The segment that's associated with the first activity in the journey.
|
String |
toString()
Returns a string representation of this object.
|
StartCondition |
withDescription(String description)
The custom description of the condition.
|
StartCondition |
withEventStartCondition(EventStartCondition eventStartCondition) |
StartCondition |
withSegmentStartCondition(SegmentCondition segmentStartCondition)
The segment that's associated with the first activity in the journey.
|
public void setDescription(String description)
The custom description of the condition.
description
- The custom description of the condition.public String getDescription()
The custom description of the condition.
public StartCondition withDescription(String description)
The custom description of the condition.
description
- The custom description of the condition.public void setEventStartCondition(EventStartCondition eventStartCondition)
eventStartCondition
- public EventStartCondition getEventStartCondition()
public StartCondition withEventStartCondition(EventStartCondition eventStartCondition)
eventStartCondition
- public void setSegmentStartCondition(SegmentCondition segmentStartCondition)
The segment that's associated with the first activity in the journey. This segment determines which users are participants in the journey.
segmentStartCondition
- The segment that's associated with the first activity in the journey. This segment determines which users
are participants in the journey.public SegmentCondition getSegmentStartCondition()
The segment that's associated with the first activity in the journey. This segment determines which users are participants in the journey.
public StartCondition withSegmentStartCondition(SegmentCondition segmentStartCondition)
The segment that's associated with the first activity in the journey. This segment determines which users are participants in the journey.
segmentStartCondition
- The segment that's associated with the first activity in the journey. This segment determines which users
are participants in the journey.public String toString()
toString
in class Object
Object.toString()
public StartCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.