Class: AWSCDK::Glue::CfnTable::IcebergPartitionFieldProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnTable::IcebergPartitionFieldProperty
- Defined in:
- glue/cfn_table.rb
Overview
Instance Attribute Summary collapse
- #field_id ⇒ Numeric? readonly
- #name ⇒ String readonly
- #source_id ⇒ Numeric readonly
- #transform ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, source_id:, transform:, field_id: nil) ⇒ IcebergPartitionFieldProperty
constructor
A new instance of IcebergPartitionFieldProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, source_id:, transform:, field_id: nil) ⇒ IcebergPartitionFieldProperty
Returns a new instance of IcebergPartitionFieldProperty.
661 662 663 664 665 666 667 668 669 670 |
# File 'glue/cfn_table.rb', line 661 def initialize(name:, source_id:, transform:, field_id: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @source_id = source_id Jsii::Type.check_type(@source_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "sourceId") @transform = transform Jsii::Type.check_type(@transform, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "transform") @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "fieldId") unless @field_id.nil? end |
Instance Attribute Details
#field_id ⇒ Numeric? (readonly)
683 684 685 |
# File 'glue/cfn_table.rb', line 683 def field_id @field_id end |
#name ⇒ String (readonly)
674 675 676 |
# File 'glue/cfn_table.rb', line 674 def name @name end |
#source_id ⇒ Numeric (readonly)
677 678 679 |
# File 'glue/cfn_table.rb', line 677 def source_id @source_id end |
#transform ⇒ String (readonly)
680 681 682 |
# File 'glue/cfn_table.rb', line 680 def transform @transform end |
Class Method Details
.jsii_properties ⇒ Object
685 686 687 688 689 690 691 692 |
# File 'glue/cfn_table.rb', line 685 def self.jsii_properties { :name => "name", :source_id => "sourceId", :transform => "transform", :field_id => "fieldId", } end |
Instance Method Details
#to_jsii ⇒ Object
694 695 696 697 698 699 700 701 702 703 |
# File 'glue/cfn_table.rb', line 694 def to_jsii result = {} result.merge!({ "name" => @name, "sourceId" => @source_id, "transform" => @transform, "fieldId" => @field_id, }) result.compact end |