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.Builder
index
(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
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
-
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.Builder
avoiding the need to create one manually viaIndex.builder()
.When the
Consumer
completes,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:
-