Class: AWSCDK::QuickSight::CfnDashboard::DefaultDateTimePickerControlOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DefaultDateTimePickerControlOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The default options that correspond to the filter control type of a DateTimePicker .
Instance Attribute Summary collapse
-
#commit_mode ⇒ String?
readonly
The visibility configuration of the Apply button on a
DateTimePickerControl. -
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#type ⇒ String?
readonly
The date time picker type of the
DefaultDateTimePickerControlOptions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(commit_mode: nil, display_options: nil, type: nil) ⇒ DefaultDateTimePickerControlOptionsProperty
constructor
A new instance of DefaultDateTimePickerControlOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(commit_mode: nil, display_options: nil, type: nil) ⇒ DefaultDateTimePickerControlOptionsProperty
Returns a new instance of DefaultDateTimePickerControlOptionsProperty.
8292 8293 8294 8295 8296 8297 8298 8299 |
# File 'quick_sight/cfn_dashboard.rb', line 8292 def initialize(commit_mode: nil, display_options: nil, type: nil) @commit_mode = commit_mode Jsii::Type.check_type(@commit_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "commitMode") unless @commit_mode.nil? @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DateTimePickerControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EYXRlVGltZVBpY2tlckNvbnRyb2xEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "displayOptions") unless @display_options.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#commit_mode ⇒ String? (readonly)
The visibility configuration of the Apply button on a DateTimePickerControl .
8305 8306 8307 |
# File 'quick_sight/cfn_dashboard.rb', line 8305 def commit_mode @commit_mode end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
8310 8311 8312 |
# File 'quick_sight/cfn_dashboard.rb', line 8310 def @display_options end |
#type ⇒ String? (readonly)
The date time picker type of the DefaultDateTimePickerControlOptions . Choose one of the following options:.
SINGLE_VALUED: The filter condition is a fixed date.DATE_RANGE: The filter condition is a date time range.
8318 8319 8320 |
# File 'quick_sight/cfn_dashboard.rb', line 8318 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
8320 8321 8322 8323 8324 8325 8326 |
# File 'quick_sight/cfn_dashboard.rb', line 8320 def self.jsii_properties { :commit_mode => "commitMode", :display_options => "displayOptions", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
8328 8329 8330 8331 8332 8333 8334 8335 8336 |
# File 'quick_sight/cfn_dashboard.rb', line 8328 def to_jsii result = {} result.merge!({ "commitMode" => @commit_mode, "displayOptions" => @display_options, "type" => @type, }) result.compact end |