public class RecencyDimension
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
RecencyDimension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDuration()
The length of time during which users have been active or inactive with
your app.
|
java.lang.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(java.lang.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(java.lang.String recencyType)
The recency dimension type: ACTIVE - Users who have used your app within
the specified duration are included in the segment.
|
java.lang.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(java.lang.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(java.lang.String recencyType)
The recency dimension type: ACTIVE - Users who have used your app within
the specified duration are included in the segment.
|
public java.lang.String getDuration()
Constraints:
Allowed Values: HR_24, DAY_7, DAY_14, DAY_30
Durationpublic void setDuration(java.lang.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(java.lang.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 java.lang.String getRecencyType()
Constraints:
Allowed Values: ACTIVE, INACTIVE
RecencyTypepublic void setRecencyType(java.lang.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(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.