Class CfnDataSource.HierarchicalChunkingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.HierarchicalChunkingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.HierarchicalChunkingConfigurationProperty>
- Enclosing interface:
CfnDataSource.HierarchicalChunkingConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.HierarchicalChunkingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.HierarchicalChunkingConfigurationProperty>
A builder for
CfnDataSource.HierarchicalChunkingConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.levelConfigurations
(List<? extends Object> levelConfigurations) levelConfigurations
(IResolvable levelConfigurations) overlapTokens
(Number overlapTokens)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
levelConfigurations
@Stability(Stable) public CfnDataSource.HierarchicalChunkingConfigurationProperty.Builder levelConfigurations(IResolvable levelConfigurations) - Parameters:
levelConfigurations
- Token settings for each layer. This parameter is required.- Returns:
this
-
levelConfigurations
@Stability(Stable) public CfnDataSource.HierarchicalChunkingConfigurationProperty.Builder levelConfigurations(List<? extends Object> levelConfigurations) - Parameters:
levelConfigurations
- Token settings for each layer. This parameter is required.- Returns:
this
-
overlapTokens
@Stability(Stable) public CfnDataSource.HierarchicalChunkingConfigurationProperty.Builder overlapTokens(Number overlapTokens) - Parameters:
overlapTokens
- The number of tokens to repeat across chunks in the same layer. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.HierarchicalChunkingConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.HierarchicalChunkingConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-