Class: AWSCDK::Bedrock::CfnDataAutomationProject::SpeakerLabelingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationProject::SpeakerLabelingConfigurationProperty
- Defined in:
- bedrock/cfn_data_automation_project.rb
Overview
Enables or disables speaker labeling.
Speaker labeling, when enabled will assign a number to each speaker, and indicate which speaker is talking in each portion of the transcript. This appears in the response as "spk_0" for the first speaker, "spk_1" for the second, and so on for up to 30 speakers.
Instance Attribute Summary collapse
-
#state ⇒ String
readonly
State of speaker labeling, either enabled or disabled.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(state:) ⇒ SpeakerLabelingConfigurationProperty
constructor
A new instance of SpeakerLabelingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(state:) ⇒ SpeakerLabelingConfigurationProperty
Returns a new instance of SpeakerLabelingConfigurationProperty.
1983 1984 1985 1986 |
# File 'bedrock/cfn_data_automation_project.rb', line 1983 def initialize(state:) @state = state Jsii::Type.check_type(@state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "state") end |
Instance Attribute Details
#state ⇒ String (readonly)
State of speaker labeling, either enabled or disabled.
1992 1993 1994 |
# File 'bedrock/cfn_data_automation_project.rb', line 1992 def state @state end |
Class Method Details
.jsii_properties ⇒ Object
1994 1995 1996 1997 1998 |
# File 'bedrock/cfn_data_automation_project.rb', line 1994 def self.jsii_properties { :state => "state", } end |
Instance Method Details
#to_jsii ⇒ Object
2000 2001 2002 2003 2004 2005 2006 |
# File 'bedrock/cfn_data_automation_project.rb', line 2000 def to_jsii result = {} result.merge!({ "state" => @state, }) result.compact end |