Class: AWSCDK::Apptest::CfnTestCase::DataSetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::DataSetProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Defines a data set.
Instance Attribute Summary collapse
-
#ccsid ⇒ String
readonly
The CCSID of the data set.
-
#format ⇒ String
readonly
The format of the data set.
-
#length ⇒ Numeric
readonly
The length of the data set.
-
#name ⇒ String
readonly
The name of the data set.
-
#type ⇒ String
readonly
The type of the data set.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ccsid:, format:, length:, name:, type:) ⇒ DataSetProperty
constructor
A new instance of DataSetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ccsid:, format:, length:, name:, type:) ⇒ DataSetProperty
Returns a new instance of DataSetProperty.
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
#ccsid ⇒ String (readonly)
The CCSID of the data set.
789 790 791 |
# File 'apptest/cfn_test_case.rb', line 789 def ccsid @ccsid end |
#format ⇒ String (readonly)
The format of the data set.
794 795 796 |
# File 'apptest/cfn_test_case.rb', line 794 def format @format end |
#length ⇒ Numeric (readonly)
The length of the data set.
799 800 801 |
# File 'apptest/cfn_test_case.rb', line 799 def length @length end |
#name ⇒ String (readonly)
The name of the data set.
804 805 806 |
# File 'apptest/cfn_test_case.rb', line 804 def name @name end |
#type ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |