Class: AWSCDK::QuickSight::CfnDashboard::CustomFilterConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::CustomFilterConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
A custom filter that filters based on a single value.
This filter can be partially matched.
Instance Attribute Summary collapse
-
#category_value ⇒ String?
readonly
The category value for the filter.
-
#match_operator ⇒ String
readonly
The match operator that is used to determine if a filter should be applied.
-
#null_option ⇒ String
readonly
This option determines how null values should be treated when filtering data.
-
#parameter_name ⇒ String?
readonly
The parameter whose value should be used for the filter value.
-
#select_all_options ⇒ String?
readonly
Select all of the values.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(match_operator:, null_option:, category_value: nil, parameter_name: nil, select_all_options: nil) ⇒ CustomFilterConfigurationProperty
constructor
A new instance of CustomFilterConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(match_operator:, null_option:, category_value: nil, parameter_name: nil, select_all_options: nil) ⇒ CustomFilterConfigurationProperty
Returns a new instance of CustomFilterConfigurationProperty.
5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 |
# File 'quick_sight/cfn_dashboard.rb', line 5758 def initialize(match_operator:, null_option:, category_value: nil, parameter_name: nil, select_all_options: nil) @match_operator = match_operator Jsii::Type.check_type(@match_operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "matchOperator") @null_option = null_option Jsii::Type.check_type(@null_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nullOption") @category_value = category_value Jsii::Type.check_type(@category_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "categoryValue") unless @category_value.nil? @parameter_name = parameter_name Jsii::Type.check_type(@parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterName") unless @parameter_name.nil? @select_all_options = Jsii::Type.check_type(@select_all_options, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "selectAllOptions") unless @select_all_options.nil? end |
Instance Attribute Details
#category_value ⇒ String? (readonly)
The category value for the filter.
This field is mutually exclusive to ParameterName .
5791 5792 5793 |
# File 'quick_sight/cfn_dashboard.rb', line 5791 def category_value @category_value end |
#match_operator ⇒ String (readonly)
The match operator that is used to determine if a filter should be applied.
5775 5776 5777 |
# File 'quick_sight/cfn_dashboard.rb', line 5775 def match_operator @match_operator end |
#null_option ⇒ String (readonly)
This option determines how null values should be treated when filtering data.
ALL_VALUES: Include null values in filtered results.NULLS_ONLY: Only include null values in filtered results.NON_NULLS_ONLY: Exclude null values from filtered results.
5784 5785 5786 |
# File 'quick_sight/cfn_dashboard.rb', line 5784 def null_option @null_option end |
#parameter_name ⇒ String? (readonly)
The parameter whose value should be used for the filter value.
This field is mutually exclusive to CategoryValue .
5798 5799 5800 |
# File 'quick_sight/cfn_dashboard.rb', line 5798 def parameter_name @parameter_name end |
#select_all_options ⇒ String? (readonly)
Select all of the values. Null is not the assigned value of select all.
FILTER_ALL_VALUES
5805 5806 5807 |
# File 'quick_sight/cfn_dashboard.rb', line 5805 def @select_all_options end |
Class Method Details
.jsii_properties ⇒ Object
5807 5808 5809 5810 5811 5812 5813 5814 5815 |
# File 'quick_sight/cfn_dashboard.rb', line 5807 def self.jsii_properties { :match_operator => "matchOperator", :null_option => "nullOption", :category_value => "categoryValue", :parameter_name => "parameterName", :select_all_options => "selectAllOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 |
# File 'quick_sight/cfn_dashboard.rb', line 5817 def to_jsii result = {} result.merge!({ "matchOperator" => @match_operator, "nullOption" => @null_option, "categoryValue" => @category_value, "parameterName" => @parameter_name, "selectAllOptions" => @select_all_options, }) result.compact end |