@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_30Duration
public String getDuration()
Duration
public 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_30Duration
public 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_30Duration
public 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_30Duration
public 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.RecencyType
public String getRecencyType()
RecencyType
public 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.RecencyType
public 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.RecencyType
public 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.RecencyType
public String toString()
toString
in class Object
Object.toString()
public RecencyDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.