Interface CfnSegment.RecencyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSegment.RecencyProperty.Jsii$Proxy
- Enclosing class:
CfnSegment
@Stability(Stable)
public static interface CfnSegment.RecencyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies how recently segment members were active.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pinpoint.*; RecencyProperty recencyProperty = RecencyProperty.builder() .duration("duration") .recencyType("recencyType") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSegment.RecencyProperty
static final class
An implementation forCfnSegment.RecencyProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The duration to use when determining which users have been active or inactive with your app.The type of recency dimension to use for the segment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDuration
The duration to use when determining which users have been active or inactive with your app.Possible values:
HR_24
|DAY_7
|DAY_14
|DAY_30
.- See Also:
-
getRecencyType
The type of recency dimension to use for the segment.Valid values are:
ACTIVE
andINACTIVE
. If the value isACTIVE
, the segment includes users who have used your app within the specified duration are included in the segment. If the value isINACTIVE
, the segment includes users who haven't used your app within the specified duration are included in the segment.- See Also:
-
builder
- Returns:
- a
CfnSegment.RecencyProperty.Builder
ofCfnSegment.RecencyProperty
-