public class RecencyDimension extends Object implements Serializable
| Constructor and Description |
|---|
RecencyDimension() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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 String getDuration()
Constraints:
Allowed Values: HR_24, DAY_7, DAY_14, DAY_30
Durationpublic void setDuration(String duration)
Constraints:
Allowed Values: HR_24, DAY_7, DAY_14, DAY_30
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(String duration)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: HR_24, DAY_7, DAY_14, DAY_30
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)
Constraints:
Allowed Values: HR_24, DAY_7, DAY_14, DAY_30
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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: HR_24, DAY_7, DAY_14, DAY_30
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 getRecencyType()
Constraints:
Allowed Values: ACTIVE, INACTIVE
RecencyTypepublic void setRecencyType(String recencyType)
Constraints:
Allowed Values: ACTIVE, INACTIVE
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(String recencyType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
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)
Constraints:
Allowed Values: ACTIVE, INACTIVE
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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
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()Copyright © 2019. All rights reserved.