Class: AWSCDK::QuickSight::CfnTemplate::DataPathLabelTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DataPathLabelTypeProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The option that specifies individual data values for labels.
Instance Attribute Summary collapse
-
#field_id ⇒ String?
readonly
The field ID of the field that the data label needs to be applied to.
-
#field_value ⇒ String?
readonly
The actual value of the field that is labeled.
-
#visibility ⇒ String?
readonly
The visibility of the data label.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(field_id: nil, field_value: nil, visibility: nil) ⇒ DataPathLabelTypeProperty
constructor
A new instance of DataPathLabelTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(field_id: nil, field_value: nil, visibility: nil) ⇒ DataPathLabelTypeProperty
Returns a new instance of DataPathLabelTypeProperty.
6442 6443 6444 6445 6446 6447 6448 6449 |
# File 'quick_sight/cfn_template.rb', line 6442 def initialize(field_id: nil, field_value: nil, visibility: nil) @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") unless @field_id.nil? @field_value = field_value Jsii::Type.check_type(@field_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldValue") unless @field_value.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 field ID of the field that the data label needs to be applied to.
6455 6456 6457 |
# File 'quick_sight/cfn_template.rb', line 6455 def field_id @field_id end |
#field_value ⇒ String? (readonly)
The actual value of the field that is labeled.
6460 6461 6462 |
# File 'quick_sight/cfn_template.rb', line 6460 def field_value @field_value end |
#visibility ⇒ String? (readonly)
The visibility of the data label.
6465 6466 6467 |
# File 'quick_sight/cfn_template.rb', line 6465 def visibility @visibility end |
Class Method Details
.jsii_properties ⇒ Object
6467 6468 6469 6470 6471 6472 6473 |
# File 'quick_sight/cfn_template.rb', line 6467 def self.jsii_properties { :field_id => "fieldId", :field_value => "fieldValue", :visibility => "visibility", } end |
Instance Method Details
#to_jsii ⇒ Object
6475 6476 6477 6478 6479 6480 6481 6482 6483 |
# File 'quick_sight/cfn_template.rb', line 6475 def to_jsii result = {} result.merge!({ "fieldId" => @field_id, "fieldValue" => @field_value, "visibility" => @visibility, }) result.compact end |