Interface CollectionConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CollectionConfig.Builder,CollectionConfig>
,SdkBuilder<CollectionConfig.Builder,CollectionConfig>
,SdkPojo
- Enclosing class:
- CollectionConfig
public static interface CollectionConfig.Builder extends SdkPojo, CopyableBuilder<CollectionConfig.Builder,CollectionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CollectionConfig.Builder
vectorConfig(Consumer<VectorConfig.Builder> vectorConfig)
Configuration for your vector collection type.CollectionConfig.Builder
vectorConfig(VectorConfig vectorConfig)
Configuration for your vector collection type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
vectorConfig
CollectionConfig.Builder vectorConfig(VectorConfig vectorConfig)
Configuration for your vector collection type.
-
Dimension
: The number of elements in your vector.
- Parameters:
vectorConfig
- Configuration for your vector collection type.-
Dimension
: The number of elements in your vector.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
vectorConfig
default CollectionConfig.Builder vectorConfig(Consumer<VectorConfig.Builder> vectorConfig)
Configuration for your vector collection type.
-
Dimension
: The number of elements in your vector.
VectorConfig.Builder
avoiding the need to create one manually viaVectorConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovectorConfig(VectorConfig)
.- Parameters:
vectorConfig
- a consumer that will call methods onVectorConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vectorConfig(VectorConfig)
-
-
-