Class: AWSCDK::Glue::CfnTable::IcebergStructFieldProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnTable::IcebergStructFieldProperty
- Defined in:
- glue/cfn_table.rb
Overview
Instance Attribute Summary collapse
- #doc ⇒ String? readonly
- #id ⇒ Numeric readonly
- #name ⇒ String readonly
- #required ⇒ Boolean, AWSCDK::IResolvable readonly
- #type ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, name:, required:, type:, doc: nil) ⇒ IcebergStructFieldProperty
constructor
A new instance of IcebergStructFieldProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id:, name:, required:, type:, doc: nil) ⇒ IcebergStructFieldProperty
Returns a new instance of IcebergStructFieldProperty.
895 896 897 898 899 900 901 902 903 904 905 906 |
# File 'glue/cfn_table.rb', line 895 def initialize(id:, name:, required:, type:, doc: nil) @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "id") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @required = required Jsii::Type.check_type(@required, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "required") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @doc = doc Jsii::Type.check_type(@doc, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "doc") unless @doc.nil? end |
Instance Attribute Details
#doc ⇒ String? (readonly)
922 923 924 |
# File 'glue/cfn_table.rb', line 922 def doc @doc end |
#id ⇒ Numeric (readonly)
910 911 912 |
# File 'glue/cfn_table.rb', line 910 def id @id end |
#name ⇒ String (readonly)
913 914 915 |
# File 'glue/cfn_table.rb', line 913 def name @name end |
#required ⇒ Boolean, AWSCDK::IResolvable (readonly)
916 917 918 |
# File 'glue/cfn_table.rb', line 916 def required @required end |
#type ⇒ String (readonly)
919 920 921 |
# File 'glue/cfn_table.rb', line 919 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
924 925 926 927 928 929 930 931 932 |
# File 'glue/cfn_table.rb', line 924 def self.jsii_properties { :id => "id", :name => "name", :required => "required", :type => "type", :doc => "doc", } end |
Instance Method Details
#to_jsii ⇒ Object
934 935 936 937 938 939 940 941 942 943 944 |
# File 'glue/cfn_table.rb', line 934 def to_jsii result = {} result.merge!({ "id" => @id, "name" => @name, "required" => @required, "type" => @type, "doc" => @doc, }) result.compact end |