Class: AWSCDK::QuickSight::CfnAnalysis::DefaultFilterListControlOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DefaultFilterListControlOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The default options that correspond to the List filter control type.
Instance Attribute Summary collapse
-
#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
DefaultFilterListControlOptions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(display_options: nil, selectable_values: nil, type: nil) ⇒ DefaultFilterListControlOptionsProperty
constructor
A new instance of DefaultFilterListControlOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(display_options: nil, selectable_values: nil, type: nil) ⇒ DefaultFilterListControlOptionsProperty
Returns a new instance of DefaultFilterListControlOptionsProperty.
7931 7932 7933 7934 7935 7936 7937 7938 |
# File 'quick_sight/cfn_analysis.rb', line 7931 def initialize(display_options: nil, selectable_values: nil, type: nil) @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ListControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkxpc3RDb250cm9sRGlzcGxheU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "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
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
7944 7945 7946 |
# File 'quick_sight/cfn_analysis.rb', line 7944 def @display_options end |
#selectable_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of selectable values that are used in a control.
7949 7950 7951 |
# File 'quick_sight/cfn_analysis.rb', line 7949 def selectable_values @selectable_values end |
#type ⇒ String? (readonly)
The type of the DefaultFilterListControlOptions . Choose one of the following options:.
MULTI_SELECT: The user can select multiple entries from the list.SINGLE_SELECT: The user can select a single entry from the list.
7957 7958 7959 |
# File 'quick_sight/cfn_analysis.rb', line 7957 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
7959 7960 7961 7962 7963 7964 7965 |
# File 'quick_sight/cfn_analysis.rb', line 7959 def self.jsii_properties { :display_options => "displayOptions", :selectable_values => "selectableValues", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
7967 7968 7969 7970 7971 7972 7973 7974 7975 |
# File 'quick_sight/cfn_analysis.rb', line 7967 def to_jsii result = {} result.merge!({ "displayOptions" => @display_options, "selectableValues" => @selectable_values, "type" => @type, }) result.compact end |