Class CfnSegmentPropsMixin.DemographicProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnSegmentPropsMixin.DemographicProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentPropsMixin.DemographicProperty>
- Enclosing interface:
CfnSegmentPropsMixin.DemographicProperty
@Stability(Stable)
public static final class CfnSegmentPropsMixin.DemographicProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentPropsMixin.DemographicProperty>
A builder for
CfnSegmentPropsMixin.DemographicProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappVersion(CfnSegmentPropsMixin.SetDimensionProperty appVersion) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getAppVersion()appVersion(IResolvable appVersion) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getAppVersion()build()Builds the configured instance.Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getChannel()channel(IResolvable channel) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getChannel()deviceType(CfnSegmentPropsMixin.SetDimensionProperty deviceType) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getDeviceType()deviceType(IResolvable deviceType) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getDeviceType()Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getMake()make(IResolvable make) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getMake()Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getModel()model(IResolvable model) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getModel()Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getPlatform()platform(IResolvable platform) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getPlatform()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appVersion
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder appVersion(IResolvable appVersion) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getAppVersion()- Parameters:
appVersion- The app version criteria for the segment.- Returns:
this
-
appVersion
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder appVersion(CfnSegmentPropsMixin.SetDimensionProperty appVersion) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getAppVersion()- Parameters:
appVersion- The app version criteria for the segment.- Returns:
this
-
channel
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder channel(IResolvable channel) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getChannel()- Parameters:
channel- The channel criteria for the segment.- Returns:
this
-
channel
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder channel(CfnSegmentPropsMixin.SetDimensionProperty channel) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getChannel()- Parameters:
channel- The channel criteria for the segment.- Returns:
this
-
deviceType
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder deviceType(IResolvable deviceType) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getDeviceType()- Parameters:
deviceType- The device type criteria for the segment.- Returns:
this
-
deviceType
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder deviceType(CfnSegmentPropsMixin.SetDimensionProperty deviceType) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getDeviceType()- Parameters:
deviceType- The device type criteria for the segment.- Returns:
this
-
make
Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getMake()- Parameters:
make- The device make criteria for the segment.- Returns:
this
-
make
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder make(CfnSegmentPropsMixin.SetDimensionProperty make) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getMake()- Parameters:
make- The device make criteria for the segment.- Returns:
this
-
model
Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getModel()- Parameters:
model- The device model criteria for the segment.- Returns:
this
-
model
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder model(CfnSegmentPropsMixin.SetDimensionProperty model) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getModel()- Parameters:
model- The device model criteria for the segment.- Returns:
this
-
platform
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder platform(IResolvable platform) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getPlatform()- Parameters:
platform- The device platform criteria for the segment.- Returns:
this
-
platform
@Stability(Stable) public CfnSegmentPropsMixin.DemographicProperty.Builder platform(CfnSegmentPropsMixin.SetDimensionProperty platform) Sets the value ofCfnSegmentPropsMixin.DemographicProperty.getPlatform()- Parameters:
platform- The device platform criteria for the segment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentPropsMixin.DemographicProperty>- Returns:
- a new instance of
CfnSegmentPropsMixin.DemographicProperty - Throws:
NullPointerException- if any required attribute was not provided
-