Class: AWSCDK::Bedrock::CfnDataAutomationProject::AudioStandardGenerativeFieldProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::AudioStandardGenerativeFieldProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Settings for generating descriptions of audio.
Instance Attribute Summary collapse
-
#state ⇒ String
readonly
Whether generating descriptions is enabled for audio.
-
#types ⇒ Array<String>?
readonly
The types of description to generate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:, types: nil) ⇒ AudioStandardGenerativeFieldProperty
constructor
A new instance of AudioStandardGenerativeFieldProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:, types: nil) ⇒ AudioStandardGenerativeFieldProperty
Returns a new instance of AudioStandardGenerativeFieldProperty.
885 886 887 888 889 890 |
# File 'bedrock/cfn_data_automation_project.rb', line 885 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 audio.
896 897 898 |
# File 'bedrock/cfn_data_automation_project.rb', line 896 def state @state end |
#types ⇒ Array<String>? (readonly)
The types of description to generate.
901 902 903 |
# File 'bedrock/cfn_data_automation_project.rb', line 901 def types @types end |
Class Method Details
.jsii_properties ⇒ Object
903 904 905 906 907 908 |
# File 'bedrock/cfn_data_automation_project.rb', line 903 def self.jsii_properties { :state => "state", :types => "types", } end |
Instance Method Details
#to_jsii ⇒ Object
910 911 912 913 914 915 916 917 |
# File 'bedrock/cfn_data_automation_project.rb', line 910 def to_jsii result = {} result.merge!({ "state" => @state, "types" => @types, }) result.compact end |