Class: AWSCDK::QuickSight::CfnDashboard::FilterListConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.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.



10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
# File 'quick_sight/cfn_dashboard.rb', line 10918

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.



10938
10939
10940
# File 'quick_sight/cfn_dashboard.rb', line 10938

def category_values
  @category_values
end

#match_operatorString (readonly)

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



10933
10934
10935
# File 'quick_sight/cfn_dashboard.rb', line 10933

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.


10947
10948
10949
# File 'quick_sight/cfn_dashboard.rb', line 10947

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


10954
10955
10956
# File 'quick_sight/cfn_dashboard.rb', line 10954

def select_all_options
  @select_all_options
end

Class Method Details

.jsii_propertiesObject



10956
10957
10958
10959
10960
10961
10962
10963
# File 'quick_sight/cfn_dashboard.rb', line 10956

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

Instance Method Details

#to_jsiiObject



10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
# File 'quick_sight/cfn_dashboard.rb', line 10965

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