Class: AWSCDK::QuickSight::CfnAnalysis::FilterDateTimePickerControlProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::FilterDateTimePickerControlProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
A control from a date filter that is used to specify date and time.
Instance Attribute Summary collapse
-
#commit_mode ⇒ String?
readonly
The visibility configurationof the Apply button on a
DateTimePickerControl. -
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#filter_control_id ⇒ String
readonly
The ID of the
FilterDateTimePickerControl. -
#source_filter_id ⇒ String
readonly
The source filter ID of the
FilterDateTimePickerControl. -
#title ⇒ String
readonly
The title of the
FilterDateTimePickerControl. -
#type ⇒ String?
readonly
The type of the
FilterDropDownControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(filter_control_id:, source_filter_id:, title:, commit_mode: nil, display_options: nil, type: nil) ⇒ FilterDateTimePickerControlProperty
constructor
A new instance of FilterDateTimePickerControlProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(filter_control_id:, source_filter_id:, title:, commit_mode: nil, display_options: nil, type: nil) ⇒ FilterDateTimePickerControlProperty
Returns a new instance of FilterDateTimePickerControlProperty.
9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 |
# File 'quick_sight/cfn_analysis.rb', line 9895 def initialize(filter_control_id:, source_filter_id:, title:, commit_mode: nil, display_options: nil, type: nil) @filter_control_id = filter_control_id Jsii::Type.check_type(@filter_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "filterControlId") @source_filter_id = source_filter_id Jsii::Type.check_type(@source_filter_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceFilterId") @title = title Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "title") @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::CfnAnalysis::DateTimePickerControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRhdGVUaW1lUGlja2VyQ29udHJvbERpc3BsYXlPcHRpb25zUHJvcGVydHkifV19fQ==")), "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 configurationof the Apply button on a DateTimePickerControl .
9929 9930 9931 |
# File 'quick_sight/cfn_analysis.rb', line 9929 def commit_mode @commit_mode end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
9934 9935 9936 |
# File 'quick_sight/cfn_analysis.rb', line 9934 def @display_options end |
#filter_control_id ⇒ String (readonly)
The ID of the FilterDateTimePickerControl .
9914 9915 9916 |
# File 'quick_sight/cfn_analysis.rb', line 9914 def filter_control_id @filter_control_id end |
#source_filter_id ⇒ String (readonly)
The source filter ID of the FilterDateTimePickerControl .
9919 9920 9921 |
# File 'quick_sight/cfn_analysis.rb', line 9919 def source_filter_id @source_filter_id end |
#title ⇒ String (readonly)
The title of the FilterDateTimePickerControl .
9924 9925 9926 |
# File 'quick_sight/cfn_analysis.rb', line 9924 def title @title end |
#type ⇒ String? (readonly)
The type of the FilterDropDownControl . Choose one of the following options:.
MULTI_SELECT: The user can select multiple entries from a dropdown menu.SINGLE_SELECT: The user can select a single entry from a dropdown menu.
9942 9943 9944 |
# File 'quick_sight/cfn_analysis.rb', line 9942 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 |
# File 'quick_sight/cfn_analysis.rb', line 9944 def self.jsii_properties { :filter_control_id => "filterControlId", :source_filter_id => "sourceFilterId", :title => "title", :commit_mode => "commitMode", :display_options => "displayOptions", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 |
# File 'quick_sight/cfn_analysis.rb', line 9955 def to_jsii result = {} result.merge!({ "filterControlId" => @filter_control_id, "sourceFilterId" => @source_filter_id, "title" => @title, "commitMode" => @commit_mode, "displayOptions" => @display_options, "type" => @type, }) result.compact end |