@Stability(value=Stable) public static final class CfnSegment.RecencyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSegment.RecencyProperty>
CfnSegment.RecencyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSegment.RecencyProperty |
build()
Builds the configured instance.
|
CfnSegment.RecencyProperty.Builder |
duration(String duration)
Sets the value of
CfnSegment.RecencyProperty.getDuration() |
CfnSegment.RecencyProperty.Builder |
recencyType(String recencyType)
Sets the value of
CfnSegment.RecencyProperty.getRecencyType() |
@Stability(value=Stable) public CfnSegment.RecencyProperty.Builder duration(String duration)
CfnSegment.RecencyProperty.getDuration()duration - The duration to use when determining which users have been active or inactive with your app. This parameter is required.
Possible values: HR_24 | DAY_7 | DAY_14 | DAY_30 .this@Stability(value=Stable) public CfnSegment.RecencyProperty.Builder recencyType(String recencyType)
CfnSegment.RecencyProperty.getRecencyType()recencyType - The type of recency dimension to use for the segment. This parameter is required.
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.this@Stability(value=Stable) public CfnSegment.RecencyProperty build()
build in interface software.amazon.jsii.Builder<CfnSegment.RecencyProperty>CfnSegment.RecencyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.