Class CfnSegment.BehaviorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnSegment.BehaviorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegment.BehaviorProperty>
- Enclosing interface:
CfnSegment.BehaviorProperty
@Stability(Stable)
public static final class CfnSegment.BehaviorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegment.BehaviorProperty>
A builder for
CfnSegment.BehaviorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.recency
(IResolvable recency) Sets the value ofCfnSegment.BehaviorProperty.getRecency()
recency
(CfnSegment.RecencyProperty recency) Sets the value ofCfnSegment.BehaviorProperty.getRecency()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recency
Sets the value ofCfnSegment.BehaviorProperty.getRecency()
- Parameters:
recency
- Specifies how recently segment members were active.- Returns:
this
-
recency
@Stability(Stable) public CfnSegment.BehaviorProperty.Builder recency(CfnSegment.RecencyProperty recency) Sets the value ofCfnSegment.BehaviorProperty.getRecency()
- Parameters:
recency
- Specifies how recently segment members were active.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSegment.BehaviorProperty>
- Returns:
- a new instance of
CfnSegment.BehaviorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-