Class: AWSCDK::QuickSight::CfnTemplate::CustomFilterConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::CustomFilterConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 |
# File 'quick_sight/cfn_template.rb', line 5743 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 .
5776 5777 5778 |
# File 'quick_sight/cfn_template.rb', line 5776 def category_value @category_value end |
#match_operator ⇒ String (readonly)
The match operator that is used to determine if a filter should be applied.
5760 5761 5762 |
# File 'quick_sight/cfn_template.rb', line 5760 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.
5769 5770 5771 |
# File 'quick_sight/cfn_template.rb', line 5769 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 .
5783 5784 5785 |
# File 'quick_sight/cfn_template.rb', line 5783 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
5790 5791 5792 |
# File 'quick_sight/cfn_template.rb', line 5790 def @select_all_options end |
Class Method Details
.jsii_properties ⇒ Object
5792 5793 5794 5795 5796 5797 5798 5799 5800 |
# File 'quick_sight/cfn_template.rb', line 5792 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
5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 |
# File 'quick_sight/cfn_template.rb', line 5802 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 |