@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimpleCondition extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a condition to evaluate for an activity in a journey.
Constructor and Description |
---|
SimpleCondition() |
Modifier and Type | Method and Description |
---|---|
SimpleCondition |
clone() |
boolean |
equals(Object obj) |
EventCondition |
getEventCondition()
The dimension settings for the event that's associated with the activity.
|
SegmentCondition |
getSegmentCondition()
The segment that's associated with the activity.
|
SegmentDimensions |
getSegmentDimensions()
The dimension settings for the segment that's associated with the activity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventCondition(EventCondition eventCondition)
The dimension settings for the event that's associated with the activity.
|
void |
setSegmentCondition(SegmentCondition segmentCondition)
The segment that's associated with the activity.
|
void |
setSegmentDimensions(SegmentDimensions segmentDimensions)
The dimension settings for the segment that's associated with the activity.
|
String |
toString()
Returns a string representation of this object.
|
SimpleCondition |
withEventCondition(EventCondition eventCondition)
The dimension settings for the event that's associated with the activity.
|
SimpleCondition |
withSegmentCondition(SegmentCondition segmentCondition)
The segment that's associated with the activity.
|
SimpleCondition |
withSegmentDimensions(SegmentDimensions segmentDimensions)
The dimension settings for the segment that's associated with the activity.
|
public void setEventCondition(EventCondition eventCondition)
The dimension settings for the event that's associated with the activity.
eventCondition
- The dimension settings for the event that's associated with the activity.public EventCondition getEventCondition()
The dimension settings for the event that's associated with the activity.
public SimpleCondition withEventCondition(EventCondition eventCondition)
The dimension settings for the event that's associated with the activity.
eventCondition
- The dimension settings for the event that's associated with the activity.public void setSegmentCondition(SegmentCondition segmentCondition)
The segment that's associated with the activity.
segmentCondition
- The segment that's associated with the activity.public SegmentCondition getSegmentCondition()
The segment that's associated with the activity.
public SimpleCondition withSegmentCondition(SegmentCondition segmentCondition)
The segment that's associated with the activity.
segmentCondition
- The segment that's associated with the activity.public void setSegmentDimensions(SegmentDimensions segmentDimensions)
The dimension settings for the segment that's associated with the activity.
segmentDimensions
- The dimension settings for the segment that's associated with the activity.public SegmentDimensions getSegmentDimensions()
The dimension settings for the segment that's associated with the activity.
public SimpleCondition withSegmentDimensions(SegmentDimensions segmentDimensions)
The dimension settings for the segment that's associated with the activity.
segmentDimensions
- The dimension settings for the segment that's associated with the activity.public String toString()
toString
in class Object
Object.toString()
public SimpleCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.