Class: AWSCDK::QuickSight::CfnAnalysis::FilterListConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

A list of filter configurations.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(match_operator:, category_values: nil, null_option: nil, select_all_options: nil) ⇒ FilterListConfigurationProperty

Returns a new instance of FilterListConfigurationProperty.

Parameters:

  • match_operator (String)

    The match operator that is used to determine if a filter should be applied.

  • category_values (Array<String>, nil) (defaults to: nil)

    The list of category values for the filter.

  • null_option (String, nil) (defaults to: nil)

    This option determines how null values should be treated when filtering data.

  • select_all_options (String, nil) (defaults to: nil)

    Select all of the values. Null is not the assigned value of select all.



10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
# File 'quick_sight/cfn_analysis.rb', line 10165

def initialize(match_operator:, category_values: nil, null_option: nil, select_all_options: nil)
  @match_operator = match_operator
  Jsii::Type.check_type(@match_operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "matchOperator")
  @category_values = category_values
  Jsii::Type.check_type(@category_values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "categoryValues") unless @category_values.nil?
  @null_option = null_option
  Jsii::Type.check_type(@null_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nullOption") unless @null_option.nil?
  @select_all_options = 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_valuesArray<String>? (readonly)

The list of category values for the filter.



10185
10186
10187
# File 'quick_sight/cfn_analysis.rb', line 10185

def category_values
  @category_values
end

#match_operatorString (readonly)

The match operator that is used to determine if a filter should be applied.



10180
10181
10182
# File 'quick_sight/cfn_analysis.rb', line 10180

def match_operator
  @match_operator
end

#null_optionString? (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.


10194
10195
10196
# File 'quick_sight/cfn_analysis.rb', line 10194

def null_option
  @null_option
end

#select_all_optionsString? (readonly)

Select all of the values. Null is not the assigned value of select all.

  • FILTER_ALL_VALUES


10201
10202
10203
# File 'quick_sight/cfn_analysis.rb', line 10201

def select_all_options
  @select_all_options
end

Class Method Details

.jsii_propertiesObject



10203
10204
10205
10206
10207
10208
10209
10210
# File 'quick_sight/cfn_analysis.rb', line 10203

def self.jsii_properties
  {
    :match_operator => "matchOperator",
    :category_values => "categoryValues",
    :null_option => "nullOption",
    :select_all_options => "selectAllOptions",
  }
end

Instance Method Details

#to_jsiiObject



10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
# File 'quick_sight/cfn_analysis.rb', line 10212

def to_jsii
  result = {}
  result.merge!({
    "matchOperator" => @match_operator,
    "categoryValues" => @category_values,
    "nullOption" => @null_option,
    "selectAllOptions" => @select_all_options,
  })
  result.compact
end