Interface GetVectorsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetVectorsRequest.Builder,
,GetVectorsRequest> S3VectorsRequest.Builder
,SdkBuilder<GetVectorsRequest.Builder,
,GetVectorsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetVectorsRequest
@Mutable
@NotThreadSafe
public static interface GetVectorsRequest.Builder
extends S3VectorsRequest.Builder, SdkPojo, CopyableBuilder<GetVectorsRequest.Builder,GetVectorsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the vector index.The name of the vector index.The names of the vectors you want to return attributes for.keys
(Collection<String> keys) The names of the vectors you want to return attributes for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.returnData
(Boolean returnData) Indicates whether to include the vector data in the response.returnMetadata
(Boolean returnMetadata) Indicates whether to include metadata in the response.vectorBucketName
(String vectorBucketName) The name of the vector bucket that contains the vector index.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3vectors.model.S3VectorsRequest.Builder
build
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 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.
- Parameters:
indexName
- The name of the vector index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexArn
The ARN of the vector index.
- Parameters:
indexArn
- The ARN of the vector index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The names of the vectors you want to return attributes for.
- Parameters:
keys
- The names of the vectors you want to return attributes for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
The names of the vectors you want to return attributes for.
- Parameters:
keys
- The names of the vectors you want to return attributes for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnData
Indicates whether to include the vector data in the response. The default value is
false
.- Parameters:
returnData
- Indicates whether to include the vector data in the response. The default value isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnMetadata
Indicates whether to include metadata in the response. The default value is
false
.- Parameters:
returnMetadata
- Indicates whether to include metadata in the response. The default value isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetVectorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetVectorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-