Class: AWSCDK::QuickSight::CfnTemplate::DecimalValueWhenUnsetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DecimalValueWhenUnsetConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
7432 7433 7434 7435 7436 7437 |
# File 'quick_sight/cfn_template.rb', line 7432 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.
7443 7444 7445 |
# File 'quick_sight/cfn_template.rb', line 7443 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.
7451 7452 7453 |
# File 'quick_sight/cfn_template.rb', line 7451 def value_when_unset_option @value_when_unset_option end |
Class Method Details
.jsii_properties ⇒ Object
7453 7454 7455 7456 7457 7458 |
# File 'quick_sight/cfn_template.rb', line 7453 def self.jsii_properties { :custom_value => "customValue", :value_when_unset_option => "valueWhenUnsetOption", } end |
Instance Method Details
#to_jsii ⇒ Object
7460 7461 7462 7463 7464 7465 7466 7467 |
# File 'quick_sight/cfn_template.rb', line 7460 def to_jsii result = {} result.merge!({ "customValue" => @custom_value, "valueWhenUnsetOption" => @value_when_unset_option, }) result.compact end |