Class: AWSCDK::CustomerProfiles::CfnSegmentDefinition::ExtraLengthValueProfileDimensionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnSegmentDefinition::ExtraLengthValueProfileDimensionProperty
- Defined in:
- customer_profiles/cfn_segment_definition.rb
Overview
Object that segments on various Customer profile's fields that are larger than normal.
Instance Attribute Summary collapse
-
#dimension_type ⇒ String
readonly
The action to segment with.
-
#values ⇒ Array<String>
readonly
The values to apply the DimensionType on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dimension_type:, values:) ⇒ ExtraLengthValueProfileDimensionProperty
constructor
A new instance of ExtraLengthValueProfileDimensionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dimension_type:, values:) ⇒ ExtraLengthValueProfileDimensionProperty
Returns a new instance of ExtraLengthValueProfileDimensionProperty.
929 930 931 932 933 934 |
# File 'customer_profiles/cfn_segment_definition.rb', line 929 def initialize(dimension_type:, values:) @dimension_type = dimension_type Jsii::Type.check_type(@dimension_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dimensionType") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") end |
Instance Attribute Details
#dimension_type ⇒ String (readonly)
The action to segment with.
940 941 942 |
# File 'customer_profiles/cfn_segment_definition.rb', line 940 def dimension_type @dimension_type end |
#values ⇒ Array<String> (readonly)
The values to apply the DimensionType on.
945 946 947 |
# File 'customer_profiles/cfn_segment_definition.rb', line 945 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
947 948 949 950 951 952 |
# File 'customer_profiles/cfn_segment_definition.rb', line 947 def self.jsii_properties { :dimension_type => "dimensionType", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
954 955 956 957 958 959 960 961 |
# File 'customer_profiles/cfn_segment_definition.rb', line 954 def to_jsii result = {} result.merge!({ "dimensionType" => @dimension_type, "values" => @values, }) result.compact end |