Class: AWSCDK::QuickSight::CfnDataSet::LookbackWindowProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::LookbackWindowProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
The lookback window setup of an incremental refresh configuration.
Instance Attribute Summary collapse
-
#column_name ⇒ String
readonly
The name of the lookback window column.
-
#size ⇒ Numeric
readonly
The lookback window column size.
-
#size_unit ⇒ String
readonly
The size unit that is used for the lookback window column.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_name:, size:, size_unit:) ⇒ LookbackWindowProperty
constructor
A new instance of LookbackWindowProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_name:, size:, size_unit:) ⇒ LookbackWindowProperty
Returns a new instance of LookbackWindowProperty.
4012 4013 4014 4015 4016 4017 4018 4019 |
# File 'quick_sight/cfn_data_set.rb', line 4012 def initialize(column_name:, size:, size_unit:) @column_name = column_name Jsii::Type.check_type(@column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnName") @size = size Jsii::Type.check_type(@size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "size") @size_unit = size_unit Jsii::Type.check_type(@size_unit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sizeUnit") end |
Instance Attribute Details
#column_name ⇒ String (readonly)
The name of the lookback window column.
4025 4026 4027 |
# File 'quick_sight/cfn_data_set.rb', line 4025 def column_name @column_name end |
#size ⇒ Numeric (readonly)
Note:
Default: - 0
The lookback window column size.
4031 4032 4033 |
# File 'quick_sight/cfn_data_set.rb', line 4031 def size @size end |
#size_unit ⇒ String (readonly)
The size unit that is used for the lookback window column.
Valid values for this structure are HOUR , DAY , and WEEK .
4038 4039 4040 |
# File 'quick_sight/cfn_data_set.rb', line 4038 def size_unit @size_unit end |
Class Method Details
.jsii_properties ⇒ Object
4040 4041 4042 4043 4044 4045 4046 |
# File 'quick_sight/cfn_data_set.rb', line 4040 def self.jsii_properties { :column_name => "columnName", :size => "size", :size_unit => "sizeUnit", } end |
Instance Method Details
#to_jsii ⇒ Object
4048 4049 4050 4051 4052 4053 4054 4055 4056 |
# File 'quick_sight/cfn_data_set.rb', line 4048 def to_jsii result = {} result.merge!({ "columnName" => @column_name, "size" => @size, "sizeUnit" => @size_unit, }) result.compact end |