Class: AWSCDK::QuickSight::CfnAnalysis::IntegerValueWhenUnsetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::IntegerValueWhenUnsetConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
16283 16284 16285 16286 16287 16288 |
# File 'quick_sight/cfn_analysis.rb', line 16283 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.
16294 16295 16296 |
# File 'quick_sight/cfn_analysis.rb', line 16294 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.
16302 16303 16304 |
# File 'quick_sight/cfn_analysis.rb', line 16302 def value_when_unset_option @value_when_unset_option end |
Class Method Details
.jsii_properties ⇒ Object
16304 16305 16306 16307 16308 16309 |
# File 'quick_sight/cfn_analysis.rb', line 16304 def self.jsii_properties { :custom_value => "customValue", :value_when_unset_option => "valueWhenUnsetOption", } end |
Instance Method Details
#to_jsii ⇒ Object
16311 16312 16313 16314 16315 16316 16317 16318 |
# File 'quick_sight/cfn_analysis.rb', line 16311 def to_jsii result = {} result.merge!({ "customValue" => @custom_value, "valueWhenUnsetOption" => @value_when_unset_option, }) result.compact end |