Class: AWSCDK::Omics::CfnAnnotationStore::TsvStoreOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
omics/cfn_annotation_store.rb

Overview

The store's parsing options.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(annotation_type: nil, format_to_header: nil, schema: nil) ⇒ TsvStoreOptionsProperty

Returns a new instance of TsvStoreOptionsProperty.

Parameters:

  • annotation_type (String, nil) (defaults to: nil)

    The store's annotation type.

  • format_to_header (AWSCDK::IResolvable, Hash{String => String}, nil) (defaults to: nil)

    The store's header key to column name mapping.

  • schema (Object, nil) (defaults to: nil)

    The schema of an annotation store.



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_typeString? (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_headerAWSCDK::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

#schemaObject? (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_propertiesObject



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_jsiiObject



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