Interface ListVectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVectorsResponse.Builder,
,ListVectorsResponse> S3VectorsResponse.Builder
,SdkBuilder<ListVectorsResponse.Builder,
,ListVectorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListVectorsResponse
@Mutable
@NotThreadSafe
public static interface ListVectorsResponse.Builder
extends S3VectorsResponse.Builder, SdkPojo, CopyableBuilder<ListVectorsResponse.Builder,ListVectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionPagination token to be used in the subsequent request.vectors
(Collection<ListOutputVector> vectors) Vectors in the current segment.vectors
(Consumer<ListOutputVector.Builder>... vectors) Vectors in the current segment.vectors
(ListOutputVector... vectors) Vectors in the current segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3vectors.model.S3VectorsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
Pagination token to be used in the subsequent request. The field is empty if no further pagination is required.
- Parameters:
nextToken
- Pagination token to be used in the subsequent request. The field is empty if no further pagination is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectors
Vectors in the current segment.
- Parameters:
vectors
- Vectors in the current segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectors
Vectors in the current segment.
- Parameters:
vectors
- Vectors in the current segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectors
Vectors in the current segment.
This is a convenience method that creates an instance of theListOutputVector.Builder
avoiding the need to create one manually viaListOutputVector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovectors(List<ListOutputVector>)
.- Parameters:
vectors
- a consumer that will call methods onListOutputVector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-