@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentCondition extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a segment to associate with an activity in a journey.
| Constructor and Description |
|---|
SegmentCondition() |
| Modifier and Type | Method and Description |
|---|---|
SegmentCondition |
clone() |
boolean |
equals(Object obj) |
String |
getSegmentId()
The unique identifier for the segment to associate with the activity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSegmentId(String segmentId)
The unique identifier for the segment to associate with the activity.
|
String |
toString()
Returns a string representation of this object.
|
SegmentCondition |
withSegmentId(String segmentId)
The unique identifier for the segment to associate with the activity.
|
public void setSegmentId(String segmentId)
The unique identifier for the segment to associate with the activity.
segmentId - The unique identifier for the segment to associate with the activity.public String getSegmentId()
The unique identifier for the segment to associate with the activity.
public SegmentCondition withSegmentId(String segmentId)
The unique identifier for the segment to associate with the activity.
segmentId - The unique identifier for the segment to associate with the activity.public String toString()
toString in class ObjectObject.toString()public SegmentCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.