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