Class: AWSCDK::QuickSight::CfnAnalysis::DecimalValueWhenUnsetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DecimalValueWhenUnsetConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The configuration that defines the default value of a Decimal parameter when a value has not been set.
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) ⇒ DecimalValueWhenUnsetConfigurationProperty
constructor
A new instance of DecimalValueWhenUnsetConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_value: nil, value_when_unset_option: nil) ⇒ DecimalValueWhenUnsetConfigurationProperty
Returns a new instance of DecimalValueWhenUnsetConfigurationProperty.
7624 7625 7626 7627 7628 7629 |
# File 'quick_sight/cfn_analysis.rb', line 7624 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.
7635 7636 7637 |
# File 'quick_sight/cfn_analysis.rb', line 7635 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.
7643 7644 7645 |
# File 'quick_sight/cfn_analysis.rb', line 7643 def value_when_unset_option @value_when_unset_option end |
Class Method Details
.jsii_properties ⇒ Object
7645 7646 7647 7648 7649 7650 |
# File 'quick_sight/cfn_analysis.rb', line 7645 def self.jsii_properties { :custom_value => "customValue", :value_when_unset_option => "valueWhenUnsetOption", } end |
Instance Method Details
#to_jsii ⇒ Object
7652 7653 7654 7655 7656 7657 7658 7659 |
# File 'quick_sight/cfn_analysis.rb', line 7652 def to_jsii result = {} result.merge!({ "customValue" => @custom_value, "valueWhenUnsetOption" => @value_when_unset_option, }) result.compact end |