Class: AWSCDK::Bedrock::CfnDataAutomationProject::VideoStandardGenerativeFieldProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::VideoStandardGenerativeFieldProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Settings for generating descriptions of video.
Instance Attribute Summary collapse
-
#state ⇒ String
readonly
Whether generating descriptions is enabled for video.
-
#types ⇒ Array<String>?
readonly
The types of description to generate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:, types: nil) ⇒ VideoStandardGenerativeFieldProperty
constructor
A new instance of VideoStandardGenerativeFieldProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:, types: nil) ⇒ VideoStandardGenerativeFieldProperty
Returns a new instance of VideoStandardGenerativeFieldProperty.
2328 2329 2330 2331 2332 2333 |
# File 'bedrock/cfn_data_automation_project.rb', line 2328 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 descriptions is enabled for video.
2339 2340 2341 |
# File 'bedrock/cfn_data_automation_project.rb', line 2339 def state @state end |
#types ⇒ Array<String>? (readonly)
The types of description to generate.
2344 2345 2346 |
# File 'bedrock/cfn_data_automation_project.rb', line 2344 def types @types end |
Class Method Details
.jsii_properties ⇒ Object
2346 2347 2348 2349 2350 2351 |
# File 'bedrock/cfn_data_automation_project.rb', line 2346 def self.jsii_properties { :state => "state", :types => "types", } end |
Instance Method Details
#to_jsii ⇒ Object
2353 2354 2355 2356 2357 2358 2359 2360 |
# File 'bedrock/cfn_data_automation_project.rb', line 2353 def to_jsii result = {} result.merge!({ "state" => @state, "types" => @types, }) result.compact end |