Class: AWSCDK::Comprehend::CfnFlywheel::EntityTypesListItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Comprehend::CfnFlywheel::EntityTypesListItemProperty
- Defined in:
- comprehend/cfn_flywheel.rb
Overview
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:) ⇒ EntityTypesListItemProperty
constructor
A new instance of EntityTypesListItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:) ⇒ EntityTypesListItemProperty
Returns a new instance of EntityTypesListItemProperty.
766 767 768 769 |
# File 'comprehend/cfn_flywheel.rb', line 766 def initialize(type:) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#type ⇒ String (readonly)
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
Entity types must not contain the following invalid characters: \n (line break), \n (escaped line break, \r (carriage return), \r (escaped carriage return), \t (tab), \t (escaped tab), and , (comma).
777 778 779 |
# File 'comprehend/cfn_flywheel.rb', line 777 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
779 780 781 782 783 |
# File 'comprehend/cfn_flywheel.rb', line 779 def self.jsii_properties { :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
785 786 787 788 789 790 791 |
# File 'comprehend/cfn_flywheel.rb', line 785 def to_jsii result = {} result.merge!({ "type" => @type, }) result.compact end |