Class CfnKnowledgeBase.AudioSegmentationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.AudioSegmentationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase.AudioSegmentationConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBase.AudioSegmentationConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.AudioSegmentationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.AudioSegmentationConfigurationProperty>
A builder for
CfnKnowledgeBase.AudioSegmentationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fixedLengthDuration(Number fixedLengthDuration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fixedLengthDuration
@Stability(Stable) public CfnKnowledgeBase.AudioSegmentationConfigurationProperty.Builder fixedLengthDuration(Number fixedLengthDuration) - Parameters:
fixedLengthDuration- The duration in seconds for each audio segment. This parameter is required. Audio files will be divided into chunks of this length for processing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase.AudioSegmentationConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBase.AudioSegmentationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-