Class: AWSCDK::QuickSight::CfnTemplate::FilterDateTimePickerControlProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::FilterDateTimePickerControlProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
A control from a date filter that is used to specify date and time.
Instance Attribute Summary collapse
-
#commit_mode ⇒ String?
readonly
The visibility configurationof the Apply button on a
DateTimePickerControl. -
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#filter_control_id ⇒ String
readonly
The ID of the
FilterDateTimePickerControl. -
#source_filter_id ⇒ String
readonly
The source filter ID of the
FilterDateTimePickerControl. -
#title ⇒ String
readonly
The title of the
FilterDateTimePickerControl. -
#type ⇒ String?
readonly
The type of the
FilterDropDownControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(filter_control_id:, source_filter_id:, title:, commit_mode: nil, display_options: nil, type: nil) ⇒ FilterDateTimePickerControlProperty
constructor
A new instance of FilterDateTimePickerControlProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(filter_control_id:, source_filter_id:, title:, commit_mode: nil, display_options: nil, type: nil) ⇒ FilterDateTimePickerControlProperty
Returns a new instance of FilterDateTimePickerControlProperty.
9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 |
# File 'quick_sight/cfn_template.rb', line 9703 def initialize(filter_control_id:, source_filter_id:, title:, commit_mode: nil, display_options: nil, type: 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") @commit_mode = commit_mode Jsii::Type.check_type(@commit_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "commitMode") unless @commit_mode.nil? @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DateTimePickerControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRhdGVUaW1lUGlja2VyQ29udHJvbERpc3BsYXlPcHRpb25zUHJvcGVydHkifV19fQ==")), "displayOptions") unless @display_options.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#commit_mode ⇒ String? (readonly)
The visibility configurationof the Apply button on a DateTimePickerControl .
9737 9738 9739 |
# File 'quick_sight/cfn_template.rb', line 9737 def commit_mode @commit_mode end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
9742 9743 9744 |
# File 'quick_sight/cfn_template.rb', line 9742 def @display_options end |
#filter_control_id ⇒ String (readonly)
The ID of the FilterDateTimePickerControl .
9722 9723 9724 |
# File 'quick_sight/cfn_template.rb', line 9722 def filter_control_id @filter_control_id end |
#source_filter_id ⇒ String (readonly)
The source filter ID of the FilterDateTimePickerControl .
9727 9728 9729 |
# File 'quick_sight/cfn_template.rb', line 9727 def source_filter_id @source_filter_id end |
#title ⇒ String (readonly)
The title of the FilterDateTimePickerControl .
9732 9733 9734 |
# File 'quick_sight/cfn_template.rb', line 9732 def title @title end |
#type ⇒ String? (readonly)
The type of the FilterDropDownControl . Choose one of the following options:.
MULTI_SELECT: The user can select multiple entries from a dropdown menu.SINGLE_SELECT: The user can select a single entry from a dropdown menu.
9750 9751 9752 |
# File 'quick_sight/cfn_template.rb', line 9750 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 |
# File 'quick_sight/cfn_template.rb', line 9752 def self.jsii_properties { :filter_control_id => "filterControlId", :source_filter_id => "sourceFilterId", :title => "title", :commit_mode => "commitMode", :display_options => "displayOptions", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 |
# File 'quick_sight/cfn_template.rb', line 9763 def to_jsii result = {} result.merge!({ "filterControlId" => @filter_control_id, "sourceFilterId" => @source_filter_id, "title" => @title, "commitMode" => @commit_mode, "displayOptions" => @display_options, "type" => @type, }) result.compact end |