Class: AWSCDK::QuickSight::CfnTemplate::FilterTextAreaControlProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::FilterTextAreaControlProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
A control to display a text box that is used to enter multiple entries.
Instance Attribute Summary collapse
-
#delimiter ⇒ String?
readonly
The delimiter that is used to separate the lines in text.
-
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#filter_control_id ⇒ String
readonly
The ID of the
FilterTextAreaControl. -
#source_filter_id ⇒ String
readonly
The source filter ID of the
FilterTextAreaControl. -
#title ⇒ String
readonly
The title of the
FilterTextAreaControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(filter_control_id:, source_filter_id:, title:, delimiter: nil, display_options: nil) ⇒ FilterTextAreaControlProperty
constructor
A new instance of FilterTextAreaControlProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(filter_control_id:, source_filter_id:, title:, delimiter: nil, display_options: nil) ⇒ FilterTextAreaControlProperty
Returns a new instance of FilterTextAreaControlProperty.
10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 |
# File 'quick_sight/cfn_template.rb', line 10606 def initialize(filter_control_id:, source_filter_id:, title:, delimiter: nil, display_options: nil) @filter_control_id = filter_control_id Jsii::Type.check_type(@filter_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "filterControlId") @source_filter_id = source_filter_id Jsii::Type.check_type(@source_filter_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceFilterId") @title = title Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "title") @delimiter = delimiter Jsii::Type.check_type(@delimiter, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "delimiter") unless @delimiter.nil? @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TextAreaControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRleHRBcmVhQ29udHJvbERpc3BsYXlPcHRpb25zUHJvcGVydHkifV19fQ==")), "displayOptions") unless @display_options.nil? end |
Instance Attribute Details
#delimiter ⇒ String? (readonly)
The delimiter that is used to separate the lines in text.
10638 10639 10640 |
# File 'quick_sight/cfn_template.rb', line 10638 def delimiter @delimiter end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
10643 10644 10645 |
# File 'quick_sight/cfn_template.rb', line 10643 def @display_options end |
#filter_control_id ⇒ String (readonly)
The ID of the FilterTextAreaControl .
10623 10624 10625 |
# File 'quick_sight/cfn_template.rb', line 10623 def filter_control_id @filter_control_id end |
#source_filter_id ⇒ String (readonly)
The source filter ID of the FilterTextAreaControl .
10628 10629 10630 |
# File 'quick_sight/cfn_template.rb', line 10628 def source_filter_id @source_filter_id end |
#title ⇒ String (readonly)
The title of the FilterTextAreaControl .
10633 10634 10635 |
# File 'quick_sight/cfn_template.rb', line 10633 def title @title end |
Class Method Details
.jsii_properties ⇒ Object
10645 10646 10647 10648 10649 10650 10651 10652 10653 |
# File 'quick_sight/cfn_template.rb', line 10645 def self.jsii_properties { :filter_control_id => "filterControlId", :source_filter_id => "sourceFilterId", :title => "title", :delimiter => "delimiter", :display_options => "displayOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 |
# File 'quick_sight/cfn_template.rb', line 10655 def to_jsii result = {} result.merge!({ "filterControlId" => @filter_control_id, "sourceFilterId" => @source_filter_id, "title" => @title, "delimiter" => @delimiter, "displayOptions" => @display_options, }) result.compact end |