Class: AWSCDK::CustomerProfiles::CfnSegmentDefinition::SegmentSortProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnSegmentDefinition::SegmentSortProperty
- Defined in:
- customer_profiles/cfn_segment_definition.rb
Overview
Defines how segments should be sorted and ordered in the results.
Instance Attribute Summary collapse
-
#attributes ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::CustomerProfiles::CfnSegmentDefinition::SortAttributeProperty>
readonly
A list of attributes used to sort the segments and their ordering preferences.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes:) ⇒ SegmentSortProperty
constructor
A new instance of SegmentSortProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attributes:) ⇒ SegmentSortProperty
Returns a new instance of SegmentSortProperty.
1457 1458 1459 1460 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1457 def initialize(attributes:) @attributes = attributes Jsii::Type.check_type(@attributes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY3VzdG9tZXJwcm9maWxlcy5DZm5TZWdtZW50RGVmaW5pdGlvbi5Tb3J0QXR0cmlidXRlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "attributes") end |
Instance Attribute Details
#attributes ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::CustomerProfiles::CfnSegmentDefinition::SortAttributeProperty> (readonly)
A list of attributes used to sort the segments and their ordering preferences.
1466 1467 1468 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1466 def attributes @attributes end |
Class Method Details
.jsii_properties ⇒ Object
1468 1469 1470 1471 1472 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1468 def self.jsii_properties { :attributes => "attributes", } end |
Instance Method Details
#to_jsii ⇒ Object
1474 1475 1476 1477 1478 1479 1480 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1474 def to_jsii result = {} result.merge!({ "attributes" => @attributes, }) result.compact end |