Interface UpdateMetadataConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMetadataConfigurationRequest.Builder,,UpdateMetadataConfigurationRequest> S3VectorsRequest.Builder,SdkBuilder<UpdateMetadataConfigurationRequest.Builder,,UpdateMetadataConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMetadataConfigurationRequest
@Mutable
@NotThreadSafe
public static interface UpdateMetadataConfigurationRequest.Builder
extends S3VectorsRequest.Builder, SdkPojo, CopyableBuilder<UpdateMetadataConfigurationRequest.Builder,UpdateMetadataConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionText search configurations to add to the vector index.Text search configurations to add to the vector index.Text search configurations to delete from the vector index.delete(MetadataConfigurationDelete delete) Text search configurations to delete from the vector index.The Amazon Resource Name (ARN) of the vector index to update.The name of the vector index to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.vectorBucketName(String vectorBucketName) The name of the vector bucket that contains the vector index.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3vectors.model.S3VectorsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vectorBucketName
The name of the vector bucket that contains the vector index.
- Parameters:
vectorBucketName- The name of the vector bucket that contains the vector index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
The name of the vector index to update.
- Parameters:
indexName- The name of the vector index to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexArn
The Amazon Resource Name (ARN) of the vector index to update.
- Parameters:
indexArn- The Amazon Resource Name (ARN) of the vector index to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
add
Text search configurations to add to the vector index.
- Parameters:
add- Text search configurations to add to the vector index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
add
default UpdateMetadataConfigurationRequest.Builder add(Consumer<MetadataConfigurationAdd.Builder> add) Text search configurations to add to the vector index.
This is a convenience method that creates an instance of theMetadataConfigurationAdd.Builderavoiding the need to create one manually viaMetadataConfigurationAdd.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadd(MetadataConfigurationAdd).- Parameters:
add- a consumer that will call methods onMetadataConfigurationAdd.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delete
Text search configurations to delete from the vector index.
- Parameters:
delete- Text search configurations to delete from the vector index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delete
default UpdateMetadataConfigurationRequest.Builder delete(Consumer<MetadataConfigurationDelete.Builder> delete) Text search configurations to delete from the vector index.
This is a convenience method that creates an instance of theMetadataConfigurationDelete.Builderavoiding the need to create one manually viaMetadataConfigurationDelete.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelete(MetadataConfigurationDelete).- Parameters:
delete- a consumer that will call methods onMetadataConfigurationDelete.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMetadataConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMetadataConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-