Class: AWSCDK::QuickSight::CfnDashboard::FieldTooltipItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::FieldTooltipItemProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The tooltip item for the fields.
Instance Attribute Summary collapse
-
#field_id ⇒ String
readonly
The unique ID of the field that is targeted by the tooltip.
-
#label ⇒ String?
readonly
The label of the tooltip item.
-
#tooltip_target ⇒ String?
readonly
Determines the target of the field tooltip item in a combo chart visual.
-
#visibility ⇒ String?
readonly
The visibility of the tooltip item.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(field_id:, label: nil, tooltip_target: nil, visibility: nil) ⇒ FieldTooltipItemProperty
constructor
A new instance of FieldTooltipItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(field_id:, label: nil, tooltip_target: nil, visibility: nil) ⇒ FieldTooltipItemProperty
Returns a new instance of FieldTooltipItemProperty.
9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 |
# File 'quick_sight/cfn_dashboard.rb', line 9993 def initialize(field_id:, label: nil, tooltip_target: nil, visibility: nil) @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") @label = label Jsii::Type.check_type(@label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "label") unless @label.nil? @tooltip_target = tooltip_target Jsii::Type.check_type(@tooltip_target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tooltipTarget") unless @tooltip_target.nil? @visibility = visibility Jsii::Type.check_type(@visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "visibility") unless @visibility.nil? end |
Instance Attribute Details
#field_id ⇒ String (readonly)
The unique ID of the field that is targeted by the tooltip.
10008 10009 10010 |
# File 'quick_sight/cfn_dashboard.rb', line 10008 def field_id @field_id end |
#label ⇒ String? (readonly)
The label of the tooltip item.
10013 10014 10015 |
# File 'quick_sight/cfn_dashboard.rb', line 10013 def label @label end |
#tooltip_target ⇒ String? (readonly)
Determines the target of the field tooltip item in a combo chart visual.
10018 10019 10020 |
# File 'quick_sight/cfn_dashboard.rb', line 10018 def tooltip_target @tooltip_target end |
#visibility ⇒ String? (readonly)
The visibility of the tooltip item.
10023 10024 10025 |
# File 'quick_sight/cfn_dashboard.rb', line 10023 def visibility @visibility end |
Class Method Details
.jsii_properties ⇒ Object
10025 10026 10027 10028 10029 10030 10031 10032 |
# File 'quick_sight/cfn_dashboard.rb', line 10025 def self.jsii_properties { :field_id => "fieldId", :label => "label", :tooltip_target => "tooltipTarget", :visibility => "visibility", } end |
Instance Method Details
#to_jsii ⇒ Object
10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 |
# File 'quick_sight/cfn_dashboard.rb', line 10034 def to_jsii result = {} result.merge!({ "fieldId" => @field_id, "label" => @label, "tooltipTarget" => @tooltip_target, "visibility" => @visibility, }) result.compact end |