Class: AWSCDK::QuickSight::CfnAnalysis::DefaultFilterDropDownControlOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DefaultFilterDropDownControlOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The default options that correspond to the Dropdown filter control type.
Instance Attribute Summary collapse
-
#commit_mode ⇒ String?
readonly
The visibility configuration of the Apply button on a
FilterDropDownControl. -
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#selectable_values ⇒ AWSCDK::IResolvable, ...
readonly
A list of selectable values that are used in a control.
-
#type ⇒ String?
readonly
The type of the
FilterDropDownControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ DefaultFilterDropDownControlOptionsProperty
constructor
A new instance of DefaultFilterDropDownControlOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ DefaultFilterDropDownControlOptionsProperty
Returns a new instance of DefaultFilterDropDownControlOptionsProperty.
7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 |
# File 'quick_sight/cfn_analysis.rb', line 7866 def initialize(commit_mode: nil, display_options: nil, selectable_values: 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::CfnAnalysis::DropDownControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRyb3BEb3duQ29udHJvbERpc3BsYXlPcHRpb25zUHJvcGVydHkifV19fQ==")), "displayOptions") unless @display_options.nil? @selectable_values = selectable_values.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::FilterSelectableValuesProperty.new(**selectable_values.transform_keys(&:to_sym)) : selectable_values Jsii::Type.check_type(@selectable_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkZpbHRlclNlbGVjdGFibGVWYWx1ZXNQcm9wZXJ0eSJ9XX19")), "selectableValues") unless @selectable_values.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 FilterDropDownControl .
7881 7882 7883 |
# File 'quick_sight/cfn_analysis.rb', line 7881 def commit_mode @commit_mode end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
7886 7887 7888 |
# File 'quick_sight/cfn_analysis.rb', line 7886 def @display_options end |
#selectable_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of selectable values that are used in a control.
7891 7892 7893 |
# File 'quick_sight/cfn_analysis.rb', line 7891 def selectable_values @selectable_values 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.
7899 7900 7901 |
# File 'quick_sight/cfn_analysis.rb', line 7899 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
7901 7902 7903 7904 7905 7906 7907 7908 |
# File 'quick_sight/cfn_analysis.rb', line 7901 def self.jsii_properties { :commit_mode => "commitMode", :display_options => "displayOptions", :selectable_values => "selectableValues", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 |
# File 'quick_sight/cfn_analysis.rb', line 7910 def to_jsii result = {} result.merge!({ "commitMode" => @commit_mode, "displayOptions" => @display_options, "selectableValues" => @selectable_values, "type" => @type, }) result.compact end |