Class: AWSCDK::QuickSight::CfnAnalysis::PivotTableRowsLabelOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

The options for the label thta is located above the row headers.

This option is only applicable when RowsLayout is set to HIERARCHY .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_label: nil, visibility: nil) ⇒ PivotTableRowsLabelOptionsProperty

Returns a new instance of PivotTableRowsLabelOptionsProperty.

Parameters:

  • custom_label (String, nil) (defaults to: nil)

    The custom label string for the rows label.

  • visibility (String, nil) (defaults to: nil)

    The visibility of the rows label.



22421
22422
22423
22424
22425
22426
# File 'quick_sight/cfn_analysis.rb', line 22421

def initialize(custom_label: nil, visibility: nil)
  @custom_label = custom_label
  Jsii::Type.check_type(@custom_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customLabel") unless @custom_label.nil?
  @visibility = visibility
  Jsii::Type.check_type(@visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "visibility") unless @visibility.nil?
end

Instance Attribute Details

#custom_labelString? (readonly)

The custom label string for the rows label.



22432
22433
22434
# File 'quick_sight/cfn_analysis.rb', line 22432

def custom_label
  @custom_label
end

#visibilityString? (readonly)

The visibility of the rows label.



22437
22438
22439
# File 'quick_sight/cfn_analysis.rb', line 22437

def visibility
  @visibility
end

Class Method Details

.jsii_propertiesObject



22439
22440
22441
22442
22443
22444
# File 'quick_sight/cfn_analysis.rb', line 22439

def self.jsii_properties
  {
    :custom_label => "customLabel",
    :visibility => "visibility",
  }
end

Instance Method Details

#to_jsiiObject



22446
22447
22448
22449
22450
22451
22452
22453
# File 'quick_sight/cfn_analysis.rb', line 22446

def to_jsii
  result = {}
  result.merge!({
    "customLabel" => @custom_label,
    "visibility" => @visibility,
  })
  result.compact
end