Class: AWSCDK::Bedrock::CfnDataAutomationProject::DocumentStandardGenerativeFieldProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::DocumentStandardGenerativeFieldProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Settings for generating descriptions of documents.
Instance Attribute Summary collapse
-
#state ⇒ String
readonly
Whether generating descriptions is enabled for documents.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:) ⇒ DocumentStandardGenerativeFieldProperty
constructor
A new instance of DocumentStandardGenerativeFieldProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:) ⇒ DocumentStandardGenerativeFieldProperty
Returns a new instance of DocumentStandardGenerativeFieldProperty.
1364 1365 1366 1367 |
# File 'bedrock/cfn_data_automation_project.rb', line 1364 def initialize(state:) @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") end |
Instance Attribute Details
#state ⇒ String (readonly)
Whether generating descriptions is enabled for documents.
1373 1374 1375 |
# File 'bedrock/cfn_data_automation_project.rb', line 1373 def state @state end |
Class Method Details
.jsii_properties ⇒ Object
1375 1376 1377 1378 1379 |
# File 'bedrock/cfn_data_automation_project.rb', line 1375 def self.jsii_properties { :state => "state", } end |
Instance Method Details
#to_jsii ⇒ Object
1381 1382 1383 1384 1385 1386 1387 |
# File 'bedrock/cfn_data_automation_project.rb', line 1381 def to_jsii result = {} result.merge!({ "state" => @state, }) result.compact end |