Interface GetIndexResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIndexResponse.Builder,,GetIndexResponse> S3VectorsResponse.Builder,SdkBuilder<GetIndexResponse.Builder,,GetIndexResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetIndexResponse
@Mutable
@NotThreadSafe
public static interface GetIndexResponse.Builder
extends S3VectorsResponse.Builder, SdkPojo, CopyableBuilder<GetIndexResponse.Builder,GetIndexResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetIndexResponse.Builderindex(Consumer<Index.Builder> index) The attributes of the vector index.The attributes of the vector index.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3vectors.model.S3VectorsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
index
The attributes of the vector index.
- Parameters:
index- The attributes of the vector index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
index
The attributes of the vector index.
This is a convenience method that creates an instance of theIndex.Builderavoiding the need to create one manually viaIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindex(Index).- Parameters:
index- a consumer that will call methods onIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-