Class: AWSCDK::Glue::CfnTable::IcebergSortFieldProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_table.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(direction:, null_order:, source_id:, transform:) ⇒ IcebergSortFieldProperty

Returns a new instance of IcebergSortFieldProperty.

Parameters:

  • direction (String)
  • null_order (String)
  • source_id (Numeric)
  • transform (String)


804
805
806
807
808
809
810
811
812
813
# File 'glue/cfn_table.rb', line 804

def initialize(direction:, null_order:, source_id:, transform:)
  @direction = direction
  Jsii::Type.check_type(@direction, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "direction")
  @null_order = null_order
  Jsii::Type.check_type(@null_order, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nullOrder")
  @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")
end

Instance Attribute Details

#directionString (readonly)



817
818
819
# File 'glue/cfn_table.rb', line 817

def direction
  @direction
end

#null_orderString (readonly)



820
821
822
# File 'glue/cfn_table.rb', line 820

def null_order
  @null_order
end

#source_idNumeric (readonly)



823
824
825
# File 'glue/cfn_table.rb', line 823

def source_id
  @source_id
end

#transformString (readonly)



826
827
828
# File 'glue/cfn_table.rb', line 826

def transform
  @transform
end

Class Method Details

.jsii_propertiesObject



828
829
830
831
832
833
834
835
# File 'glue/cfn_table.rb', line 828

def self.jsii_properties
  {
    :direction => "direction",
    :null_order => "nullOrder",
    :source_id => "sourceId",
    :transform => "transform",
  }
end

Instance Method Details

#to_jsiiObject



837
838
839
840
841
842
843
844
845
846
# File 'glue/cfn_table.rb', line 837

def to_jsii
  result = {}
  result.merge!({
    "direction" => @direction,
    "nullOrder" => @null_order,
    "sourceId" => @source_id,
    "transform" => @transform,
  })
  result.compact
end