Class: AWSCDK::CustomerProfiles::CfnSegmentDefinition::RangeOverrideProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnSegmentDefinition::RangeOverrideProperty
- Defined in:
- customer_profiles/cfn_segment_definition.rb
Overview
Overrides the original range on a calculated attribute definition.
Instance Attribute Summary collapse
-
#_end ⇒ Numeric?
readonly
The end time of when to include objects.
-
#start ⇒ Numeric
readonly
The start time of when to include objects.
-
#unit ⇒ String
readonly
The unit for start and end.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(start:, unit:, _end: nil) ⇒ RangeOverrideProperty
constructor
A new instance of RangeOverrideProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(start:, unit:, _end: nil) ⇒ RangeOverrideProperty
Returns a new instance of RangeOverrideProperty.
1363 1364 1365 1366 1367 1368 1369 1370 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1363 def initialize(start:, unit:, _end: nil) @start = start Jsii::Type.check_type(@start, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "start") @unit = unit Jsii::Type.check_type(@unit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "unit") @_end = _end Jsii::Type.check_type(@_end, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "end") unless @_end.nil? end |
Instance Attribute Details
#_end ⇒ Numeric? (readonly)
The end time of when to include objects.
1386 1387 1388 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1386 def _end @_end end |
#start ⇒ Numeric (readonly)
The start time of when to include objects.
1376 1377 1378 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1376 def start @start end |
#unit ⇒ String (readonly)
The unit for start and end.
1381 1382 1383 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1381 def unit @unit end |
Class Method Details
.jsii_properties ⇒ Object
1388 1389 1390 1391 1392 1393 1394 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1388 def self.jsii_properties { :start => "start", :unit => "unit", :_end => "end", } end |
Instance Method Details
#to_jsii ⇒ Object
1396 1397 1398 1399 1400 1401 1402 1403 1404 |
# File 'customer_profiles/cfn_segment_definition.rb', line 1396 def to_jsii result = {} result.merge!({ "start" => @start, "unit" => @unit, "end" => @_end, }) result.compact end |