Class: AWSCDK::QuickSight::CfnDataSet::DecimalDatasetParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSet::DecimalDatasetParameterProperty
- Defined in:
- quick_sight/cfn_data_set.rb
Overview
A decimal parameter that is created in the dataset.
Instance Attribute Summary collapse
-
#default_values ⇒ AWSCDK::IResolvable, ...
readonly
A list of default values for a given decimal parameter.
-
#id ⇒ String
readonly
An identifier for the decimal parameter created in the dataset.
-
#name ⇒ String
readonly
The name of the decimal parameter that is created in the dataset.
-
#value_type ⇒ String
readonly
The value type of the dataset parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, name:, value_type:, default_values: nil) ⇒ DecimalDatasetParameterProperty
constructor
A new instance of DecimalDatasetParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id:, name:, value_type:, default_values: nil) ⇒ DecimalDatasetParameterProperty
Returns a new instance of DecimalDatasetParameterProperty.
2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 |
# File 'quick_sight/cfn_data_set.rb', line 2919 def initialize(id:, name:, value_type:, default_values: nil) @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @value_type = value_type Jsii::Type.check_type(@value_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "valueType") @default_values = default_values.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDataSet::DecimalDatasetParameterDefaultValuesProperty.new(**default_values.transform_keys(&:to_sym)) : default_values Jsii::Type.check_type(@default_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhdGFTZXQuRGVjaW1hbERhdGFzZXRQYXJhbWV0ZXJEZWZhdWx0VmFsdWVzUHJvcGVydHkifV19fQ==")), "defaultValues") unless @default_values.nil? end |
Instance Attribute Details
#default_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of default values for a given decimal parameter.
This structure only accepts static values.
2953 2954 2955 |
# File 'quick_sight/cfn_data_set.rb', line 2953 def default_values @default_values end |
#id ⇒ String (readonly)
An identifier for the decimal parameter created in the dataset.
2934 2935 2936 |
# File 'quick_sight/cfn_data_set.rb', line 2934 def id @id end |
#name ⇒ String (readonly)
The name of the decimal parameter that is created in the dataset.
2939 2940 2941 |
# File 'quick_sight/cfn_data_set.rb', line 2939 def name @name end |
#value_type ⇒ String (readonly)
The value type of the dataset parameter.
Valid values are single value or multi value .
2946 2947 2948 |
# File 'quick_sight/cfn_data_set.rb', line 2946 def value_type @value_type end |
Class Method Details
.jsii_properties ⇒ Object
2955 2956 2957 2958 2959 2960 2961 2962 |
# File 'quick_sight/cfn_data_set.rb', line 2955 def self.jsii_properties { :id => "id", :name => "name", :value_type => "valueType", :default_values => "defaultValues", } end |
Instance Method Details
#to_jsii ⇒ Object
2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 |
# File 'quick_sight/cfn_data_set.rb', line 2964 def to_jsii result = {} result.merge!({ "id" => @id, "name" => @name, "valueType" => @value_type, "defaultValues" => @default_values, }) result.compact end |