Class: AWSCDK::QuickSight::CfnAnalysis::ArcAxisDisplayRangeProperty

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

Overview

The arc axis range of a GaugeChartVisual .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(max: nil, min: nil) ⇒ ArcAxisDisplayRangeProperty

Returns a new instance of ArcAxisDisplayRangeProperty.

Parameters:

  • max (Numeric, nil) (defaults to: nil)

    The maximum value of the arc axis range.

  • min (Numeric, nil) (defaults to: nil)

    The minimum value of the arc axis range.



1234
1235
1236
1237
1238
1239
# File 'quick_sight/cfn_analysis.rb', line 1234

def initialize(max: nil, min: nil)
  @max = max
  Jsii::Type.check_type(@max, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "max") unless @max.nil?
  @min = min
  Jsii::Type.check_type(@min, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "min") unless @min.nil?
end

Instance Attribute Details

#maxNumeric? (readonly)

The maximum value of the arc axis range.



1245
1246
1247
# File 'quick_sight/cfn_analysis.rb', line 1245

def max
  @max
end

#minNumeric? (readonly)

The minimum value of the arc axis range.



1250
1251
1252
# File 'quick_sight/cfn_analysis.rb', line 1250

def min
  @min
end

Class Method Details

.jsii_propertiesObject



1252
1253
1254
1255
1256
1257
# File 'quick_sight/cfn_analysis.rb', line 1252

def self.jsii_properties
  {
    :max => "max",
    :min => "min",
  }
end

Instance Method Details

#to_jsiiObject



1259
1260
1261
1262
1263
1264
1265
1266
# File 'quick_sight/cfn_analysis.rb', line 1259

def to_jsii
  result = {}
  result.merge!({
    "max" => @max,
    "min" => @min,
  })
  result.compact
end