Class: AWSCDK::Bedrock::CfnDataAutomationProject::VideoExtractionCategoryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::VideoExtractionCategoryProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Settings for generating categorical data from video.
Instance Attribute Summary collapse
-
#state ⇒ String
readonly
Whether generating categorical data from video is enabled.
-
#types ⇒ Array<String>?
readonly
The types of data to generate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:, types: nil) ⇒ VideoExtractionCategoryProperty
constructor
A new instance of VideoExtractionCategoryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:, types: nil) ⇒ VideoExtractionCategoryProperty
Returns a new instance of VideoExtractionCategoryProperty.
2197 2198 2199 2200 2201 2202 |
# File 'bedrock/cfn_data_automation_project.rb', line 2197 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 video is enabled.
2208 2209 2210 |
# File 'bedrock/cfn_data_automation_project.rb', line 2208 def state @state end |
#types ⇒ Array<String>? (readonly)
The types of data to generate.
2213 2214 2215 |
# File 'bedrock/cfn_data_automation_project.rb', line 2213 def types @types end |
Class Method Details
.jsii_properties ⇒ Object
2215 2216 2217 2218 2219 2220 |
# File 'bedrock/cfn_data_automation_project.rb', line 2215 def self.jsii_properties { :state => "state", :types => "types", } end |
Instance Method Details
#to_jsii ⇒ Object
2222 2223 2224 2225 2226 2227 2228 2229 |
# File 'bedrock/cfn_data_automation_project.rb', line 2222 def to_jsii result = {} result.merge!({ "state" => @state, "types" => @types, }) result.compact end |