Interface GetVectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetVectorsResponse.Builder,
,GetVectorsResponse> S3VectorsResponse.Builder
,SdkBuilder<GetVectorsResponse.Builder,
,GetVectorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetVectorsResponse
@Mutable
@NotThreadSafe
public static interface GetVectorsResponse.Builder
extends S3VectorsResponse.Builder, SdkPojo, CopyableBuilder<GetVectorsResponse.Builder,GetVectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvectors
(Collection<GetOutputVector> vectors) The attributes of the vectors.vectors
(Consumer<GetOutputVector.Builder>... vectors) The attributes of the vectors.vectors
(GetOutputVector... vectors) The attributes of the vectors.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
-
vectors
The attributes of the vectors.
- Parameters:
vectors
- The attributes of the vectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectors
The attributes of the vectors.
- Parameters:
vectors
- The attributes of the vectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectors
The attributes of the vectors.
This is a convenience method that creates an instance of theGetOutputVector.Builder
avoiding the need to create one manually viaGetOutputVector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovectors(List<GetOutputVector>)
.- Parameters:
vectors
- a consumer that will call methods onGetOutputVector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-