Class: AWSCDK::QuickSight::CfnDashboard::IntegerValueWhenUnsetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::IntegerValueWhenUnsetConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
A parameter declaration for the Integer data type.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
-
#custom_value ⇒ Numeric?
readonly
A custom value that's used when the value of a parameter isn't set.
-
#value_when_unset_option ⇒ String?
readonly
The built-in options for default values.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_value: nil, value_when_unset_option: nil) ⇒ IntegerValueWhenUnsetConfigurationProperty
constructor
A new instance of IntegerValueWhenUnsetConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_value: nil, value_when_unset_option: nil) ⇒ IntegerValueWhenUnsetConfigurationProperty
Returns a new instance of IntegerValueWhenUnsetConfigurationProperty.
17222 17223 17224 17225 17226 17227 |
# File 'quick_sight/cfn_dashboard.rb', line 17222 def initialize(custom_value: nil, value_when_unset_option: nil) @custom_value = custom_value Jsii::Type.check_type(@custom_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "customValue") unless @custom_value.nil? @value_when_unset_option = value_when_unset_option Jsii::Type.check_type(@value_when_unset_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "valueWhenUnsetOption") unless @value_when_unset_option.nil? end |
Instance Attribute Details
#custom_value ⇒ Numeric? (readonly)
A custom value that's used when the value of a parameter isn't set.
17233 17234 17235 |
# File 'quick_sight/cfn_dashboard.rb', line 17233 def custom_value @custom_value end |
#value_when_unset_option ⇒ String? (readonly)
The built-in options for default values. The value can be one of the following:.
RECOMMENDED: The recommended value.NULL: TheNULLvalue.
17241 17242 17243 |
# File 'quick_sight/cfn_dashboard.rb', line 17241 def value_when_unset_option @value_when_unset_option end |
Class Method Details
.jsii_properties ⇒ Object
17243 17244 17245 17246 17247 17248 |
# File 'quick_sight/cfn_dashboard.rb', line 17243 def self.jsii_properties { :custom_value => "customValue", :value_when_unset_option => "valueWhenUnsetOption", } end |
Instance Method Details
#to_jsii ⇒ Object
17250 17251 17252 17253 17254 17255 17256 17257 |
# File 'quick_sight/cfn_dashboard.rb', line 17250 def to_jsii result = {} result.merge!({ "customValue" => @custom_value, "valueWhenUnsetOption" => @value_when_unset_option, }) result.compact end |