@Stability(value=Stable)
public static interface CfnSegment.RecencyProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSegment.RecencyProperty.Builder
A builder for
CfnSegment.RecencyProperty |
static class |
CfnSegment.RecencyProperty.Jsii$Proxy
An implementation for
CfnSegment.RecencyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSegment.RecencyProperty.Builder |
builder() |
String |
getDuration()
The duration to use when determining which users have been active or inactive with your app.
|
String |
getRecencyType()
The type of recency dimension to use for the segment.
|
@Stability(value=Stable) @NotNull String getDuration()
Possible values: HR_24 | DAY_7 | DAY_14 | DAY_30 .
@Stability(value=Stable) @NotNull String getRecencyType()
Valid values are: ACTIVE and INACTIVE . If the value is ACTIVE , the segment includes users who have used your app within the specified duration are included in the segment. If the value is INACTIVE , the segment includes users who haven't used your app within the specified duration are included in the segment.
@Stability(value=Stable) static CfnSegment.RecencyProperty.Builder builder()
CfnSegment.RecencyProperty.Builder of CfnSegment.RecencyPropertyCopyright © 2022. All rights reserved.