Interface CfnSegment.DemographicProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSegment.DemographicProperty.Jsii$Proxy
Enclosing class:
CfnSegment

@Stability(Stable) public static interface CfnSegment.DemographicProperty extends software.amazon.jsii.JsiiSerializable
Specifies demographic-based criteria, such as device platform, for the segment.

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.*;
 DemographicProperty demographicProperty = DemographicProperty.builder()
         .appVersion(SetDimensionProperty.builder()
                 .dimensionType("dimensionType")
                 .values(List.of("values"))
                 .build())
         .channel(SetDimensionProperty.builder()
                 .dimensionType("dimensionType")
                 .values(List.of("values"))
                 .build())
         .deviceType(SetDimensionProperty.builder()
                 .dimensionType("dimensionType")
                 .values(List.of("values"))
                 .build())
         .make(SetDimensionProperty.builder()
                 .dimensionType("dimensionType")
                 .values(List.of("values"))
                 .build())
         .model(SetDimensionProperty.builder()
                 .dimensionType("dimensionType")
                 .values(List.of("values"))
                 .build())
         .platform(SetDimensionProperty.builder()
                 .dimensionType("dimensionType")
                 .values(List.of("values"))
                 .build())
         .build();
 
  • Method Details

    • getAppVersion

      @Stability(Stable) @Nullable default Object getAppVersion()
      The app version criteria for the segment.
    • getChannel

      @Stability(Stable) @Nullable default Object getChannel()
      The channel criteria for the segment.
    • getDeviceType

      @Stability(Stable) @Nullable default Object getDeviceType()
      The device type criteria for the segment.
    • getMake

      @Stability(Stable) @Nullable default Object getMake()
      The device make criteria for the segment.
    • getModel

      @Stability(Stable) @Nullable default Object getModel()
      The device model criteria for the segment.
    • getPlatform

      @Stability(Stable) @Nullable default Object getPlatform()
      The device platform criteria for the segment.
    • builder

      @Stability(Stable) static CfnSegment.DemographicProperty.Builder builder()
      Returns:
      a CfnSegment.DemographicProperty.Builder of CfnSegment.DemographicProperty