Class: AWSCDK::Omics::CfnAnnotationStore::TsvStoreOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Omics::CfnAnnotationStore::TsvStoreOptionsProperty
- Defined in:
- omics/cfn_annotation_store.rb
Overview
The store's parsing options.
Instance Attribute Summary collapse
-
#annotation_type ⇒ String?
readonly
The store's annotation type.
-
#format_to_header ⇒ AWSCDK::IResolvable, ...
readonly
The store's header key to column name mapping.
-
#schema ⇒ Object?
readonly
The schema of an annotation store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(annotation_type: nil, format_to_header: nil, schema: nil) ⇒ TsvStoreOptionsProperty
constructor
A new instance of TsvStoreOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(annotation_type: nil, format_to_header: nil, schema: nil) ⇒ TsvStoreOptionsProperty
Returns a new instance of TsvStoreOptionsProperty.
773 774 775 776 777 778 779 780 |
# File 'omics/cfn_annotation_store.rb', line 773 def initialize(annotation_type: nil, format_to_header: nil, schema: nil) @annotation_type = annotation_type Jsii::Type.check_type(@annotation_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "annotationType") unless @annotation_type.nil? @format_to_header = format_to_header Jsii::Type.check_type(@format_to_header, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "formatToHeader") unless @format_to_header.nil? @schema = schema Jsii::Type.check_type(@schema, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "schema") unless @schema.nil? end |
Instance Attribute Details
#annotation_type ⇒ String? (readonly)
The store's annotation type.
786 787 788 |
# File 'omics/cfn_annotation_store.rb', line 786 def annotation_type @annotation_type end |
#format_to_header ⇒ AWSCDK::IResolvable, ... (readonly)
The store's header key to column name mapping.
791 792 793 |
# File 'omics/cfn_annotation_store.rb', line 791 def format_to_header @format_to_header end |
#schema ⇒ Object? (readonly)
The schema of an annotation store.
796 797 798 |
# File 'omics/cfn_annotation_store.rb', line 796 def schema @schema end |
Class Method Details
.jsii_properties ⇒ Object
798 799 800 801 802 803 804 |
# File 'omics/cfn_annotation_store.rb', line 798 def self.jsii_properties { :annotation_type => "annotationType", :format_to_header => "formatToHeader", :schema => "schema", } end |
Instance Method Details
#to_jsii ⇒ Object
806 807 808 809 810 811 812 813 814 |
# File 'omics/cfn_annotation_store.rb', line 806 def to_jsii result = {} result.merge!({ "annotationType" => @annotation_type, "formatToHeader" => @format_to_header, "schema" => @schema, }) result.compact end |