@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentBehaviors extends Object implements Serializable, Cloneable, StructuredPojo
Specifies dimension settings for including or excluding endpoints from a segment based on how recently an endpoint was active.
Constructor and Description |
---|
SegmentBehaviors() |
Modifier and Type | Method and Description |
---|---|
SegmentBehaviors |
clone() |
boolean |
equals(Object obj) |
RecencyDimension |
getRecency()
The dimension settings that are based on how recently an endpoint was active.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecency(RecencyDimension recency)
The dimension settings that are based on how recently an endpoint was active.
|
String |
toString()
Returns a string representation of this object.
|
SegmentBehaviors |
withRecency(RecencyDimension recency)
The dimension settings that are based on how recently an endpoint was active.
|
public void setRecency(RecencyDimension recency)
The dimension settings that are based on how recently an endpoint was active.
recency
- The dimension settings that are based on how recently an endpoint was active.public RecencyDimension getRecency()
The dimension settings that are based on how recently an endpoint was active.
public SegmentBehaviors withRecency(RecencyDimension recency)
The dimension settings that are based on how recently an endpoint was active.
recency
- The dimension settings that are based on how recently an endpoint was active.public String toString()
toString
in class Object
Object.toString()
public SegmentBehaviors clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.