Class: AWSCDK::Apptest::CfnTestCase::DataSetProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
apptest/cfn_test_case.rb

Overview

Defines a data set.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ccsid:, format:, length:, name:, type:) ⇒ DataSetProperty

Returns a new instance of DataSetProperty.

Parameters:

  • ccsid (String)

    The CCSID of the data set.

  • format (String)

    The format of the data set.

  • length (Numeric)

    The length of the data set.

  • name (String)

    The name of the data set.

  • type (String)

    The type of the data set.



772
773
774
775
776
777
778
779
780
781
782
783
# File 'apptest/cfn_test_case.rb', line 772

def initialize(ccsid:, format:, length:, name:, type:)
  @ccsid = ccsid
  Jsii::Type.check_type(@ccsid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ccsid")
  @format = format
  Jsii::Type.check_type(@format, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "format")
  @length = length
  Jsii::Type.check_type(@length, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "length")
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
end

Instance Attribute Details

#ccsidString (readonly)

The CCSID of the data set.



789
790
791
# File 'apptest/cfn_test_case.rb', line 789

def ccsid
  @ccsid
end

#formatString (readonly)

The format of the data set.



794
795
796
# File 'apptest/cfn_test_case.rb', line 794

def format
  @format
end

#lengthNumeric (readonly)

The length of the data set.



799
800
801
# File 'apptest/cfn_test_case.rb', line 799

def length
  @length
end

#nameString (readonly)

The name of the data set.



804
805
806
# File 'apptest/cfn_test_case.rb', line 804

def name
  @name
end

#typeString (readonly)

The type of the data set.



809
810
811
# File 'apptest/cfn_test_case.rb', line 809

def type
  @type
end

Class Method Details

.jsii_propertiesObject



811
812
813
814
815
816
817
818
819
# File 'apptest/cfn_test_case.rb', line 811

def self.jsii_properties
  {
    :ccsid => "ccsid",
    :format => "format",
    :length => "length",
    :name => "name",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



821
822
823
824
825
826
827
828
829
830
831
# File 'apptest/cfn_test_case.rb', line 821

def to_jsii
  result = {}
  result.merge!({
    "ccsid" => @ccsid,
    "format" => @format,
    "length" => @length,
    "name" => @name,
    "type" => @type,
  })
  result.compact
end