Class: AWSCDK::Bedrock::CfnDataAutomationProject::ImageExtractionCategoryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::ImageExtractionCategoryProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Settings for generating categorical data from images.
Instance Attribute Summary collapse
-
#state ⇒ String
readonly
Whether generating categorical data from images is enabled.
-
#types ⇒ Array<String>?
readonly
The types of data to generate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:, types: nil) ⇒ ImageExtractionCategoryProperty
constructor
A new instance of ImageExtractionCategoryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:, types: nil) ⇒ ImageExtractionCategoryProperty
Returns a new instance of ImageExtractionCategoryProperty.
1484 1485 1486 1487 1488 1489 |
# File 'bedrock/cfn_data_automation_project.rb', line 1484 def initialize(state:, types: nil) @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") @types = types Jsii::Type.check_type(@types, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "types") unless @types.nil? end |
Instance Attribute Details
#state ⇒ String (readonly)
Whether generating categorical data from images is enabled.
1495 1496 1497 |
# File 'bedrock/cfn_data_automation_project.rb', line 1495 def state @state end |
#types ⇒ Array<String>? (readonly)
The types of data to generate.
1500 1501 1502 |
# File 'bedrock/cfn_data_automation_project.rb', line 1500 def types @types end |
Class Method Details
.jsii_properties ⇒ Object
1502 1503 1504 1505 1506 1507 |
# File 'bedrock/cfn_data_automation_project.rb', line 1502 def self.jsii_properties { :state => "state", :types => "types", } end |
Instance Method Details
#to_jsii ⇒ Object
1509 1510 1511 1512 1513 1514 1515 1516 |
# File 'bedrock/cfn_data_automation_project.rb', line 1509 def to_jsii result = {} result.merge!({ "state" => @state, "types" => @types, }) result.compact end |