@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecencyDimension extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
RecencyDimension() |
| Modifier and Type | Method and Description |
|---|---|
RecencyDimension |
clone() |
boolean |
equals(Object obj) |
String |
getDuration()
The length of time during which users have been active or inactive with your app.
|
String |
getRecencyType()
The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in
the segment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDuration(Duration duration)
The length of time during which users have been active or inactive with your app.
|
void |
setDuration(String duration)
The length of time during which users have been active or inactive with your app.
|
void |
setRecencyType(RecencyType recencyType)
The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in
the segment.
|
void |
setRecencyType(String recencyType)
The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in
the segment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RecencyDimension |
withDuration(Duration duration)
The length of time during which users have been active or inactive with your app.
|
RecencyDimension |
withDuration(String duration)
The length of time during which users have been active or inactive with your app.
|
RecencyDimension |
withRecencyType(RecencyType recencyType)
The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in
the segment.
|
RecencyDimension |
withRecencyType(String recencyType)
The recency dimension type: ACTIVE - Users who have used your app within the specified duration are included in
the segment.
|
public void setDuration(String duration)
duration - The length of time during which users have been active or inactive with your app. Valid values: HR_24,
DAY_7, DAY_14, DAY_30Durationpublic String getDuration()
Durationpublic RecencyDimension withDuration(String duration)
duration - The length of time during which users have been active or inactive with your app. Valid values: HR_24,
DAY_7, DAY_14, DAY_30Durationpublic void setDuration(Duration duration)
duration - The length of time during which users have been active or inactive with your app. Valid values: HR_24,
DAY_7, DAY_14, DAY_30Durationpublic RecencyDimension withDuration(Duration duration)
duration - The length of time during which users have been active or inactive with your app. Valid values: HR_24,
DAY_7, DAY_14, DAY_30Durationpublic void setRecencyType(String recencyType)
recencyType - The recency dimension type: ACTIVE - Users who have used your app within the specified duration are
included in the segment. INACTIVE - Users who have not used your app within the specified duration are
included in the segment.RecencyTypepublic String getRecencyType()
RecencyTypepublic RecencyDimension withRecencyType(String recencyType)
recencyType - The recency dimension type: ACTIVE - Users who have used your app within the specified duration are
included in the segment. INACTIVE - Users who have not used your app within the specified duration are
included in the segment.RecencyTypepublic void setRecencyType(RecencyType recencyType)
recencyType - The recency dimension type: ACTIVE - Users who have used your app within the specified duration are
included in the segment. INACTIVE - Users who have not used your app within the specified duration are
included in the segment.RecencyTypepublic RecencyDimension withRecencyType(RecencyType recencyType)
recencyType - The recency dimension type: ACTIVE - Users who have used your app within the specified duration are
included in the segment. INACTIVE - Users who have not used your app within the specified duration are
included in the segment.RecencyTypepublic String toString()
toString in class ObjectObject.toString()public RecencyDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.