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
Duration
public 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_30Duration
public 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_30Duration
public 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_30Duration
public 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_30Duration
public java.lang.String getRecencyType()
Constraints:
Allowed Values: ACTIVE, INACTIVE
RecencyType
public 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.RecencyType
public 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.RecencyType
public 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.RecencyType
public 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.RecencyType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.