Class: AWSCDK::Bedrock::CfnDataAutomationProject::ImageStandardGenerativeFieldProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::ImageStandardGenerativeFieldProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Settings for generating descriptions of images.
Instance Attribute Summary collapse
-
#state ⇒ String
readonly
Whether generating descriptions is enabled for images.
-
#types ⇒ Array<String>?
readonly
Settings for generating descriptions of images.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:, types: nil) ⇒ ImageStandardGenerativeFieldProperty
constructor
A new instance of ImageStandardGenerativeFieldProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:, types: nil) ⇒ ImageStandardGenerativeFieldProperty
Returns a new instance of ImageStandardGenerativeFieldProperty.
1615 1616 1617 1618 1619 1620 |
# File 'bedrock/cfn_data_automation_project.rb', line 1615 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 images.
1626 1627 1628 |
# File 'bedrock/cfn_data_automation_project.rb', line 1626 def state @state end |
#types ⇒ Array<String>? (readonly)
Settings for generating descriptions of images.
1631 1632 1633 |
# File 'bedrock/cfn_data_automation_project.rb', line 1631 def types @types end |
Class Method Details
.jsii_properties ⇒ Object
1633 1634 1635 1636 1637 1638 |
# File 'bedrock/cfn_data_automation_project.rb', line 1633 def self.jsii_properties { :state => "state", :types => "types", } end |
Instance Method Details
#to_jsii ⇒ Object
1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'bedrock/cfn_data_automation_project.rb', line 1640 def to_jsii result = {} result.merge!({ "state" => @state, "types" => @types, }) result.compact end |