Interface VectorIndexUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VectorIndexUpdate.Builder,,VectorIndexUpdate> SdkBuilder<VectorIndexUpdate.Builder,,VectorIndexUpdate> SdkPojo
- Enclosing class:
VectorIndexUpdate
@Mutable
@NotThreadSafe
public static interface VectorIndexUpdate.Builder
extends SdkPojo, CopyableBuilder<VectorIndexUpdate.Builder,VectorIndexUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VectorIndexUpdate.BuilderThe configuration for creating a new vector index on the table.create(CreateVectorIndexAction create) The configuration for creating a new vector index on the table.default VectorIndexUpdate.BuilderThe configuration for deleting an existing vector index from the table.delete(DeleteVectorIndexAction delete) The configuration for deleting an existing vector index from the table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
create
The configuration for creating a new vector index on the table.
- Parameters:
create- The configuration for creating a new vector index on the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
create
The configuration for creating a new vector index on the table.
This is a convenience method that creates an instance of theCreateVectorIndexAction.Builderavoiding the need to create one manually viaCreateVectorIndexAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreate(CreateVectorIndexAction).- Parameters:
create- a consumer that will call methods onCreateVectorIndexAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delete
The configuration for deleting an existing vector index from the table.
- Parameters:
delete- The configuration for deleting an existing vector index from the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delete
The configuration for deleting an existing vector index from the table.
This is a convenience method that creates an instance of theDeleteVectorIndexAction.Builderavoiding the need to create one manually viaDeleteVectorIndexAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelete(DeleteVectorIndexAction).- Parameters:
delete- a consumer that will call methods onDeleteVectorIndexAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-