Interface ListIndexesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListIndexesResponse.Builder,
,ListIndexesResponse> S3VectorsResponse.Builder
,SdkBuilder<ListIndexesResponse.Builder,
,ListIndexesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIndexesResponse
@Mutable
@NotThreadSafe
public static interface ListIndexesResponse.Builder
extends S3VectorsResponse.Builder, SdkPojo, CopyableBuilder<ListIndexesResponse.Builder,ListIndexesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionindexes
(Collection<IndexSummary> indexes) The attributes of the vector indexesindexes
(Consumer<IndexSummary.Builder>... indexes) The attributes of the vector indexesindexes
(IndexSummary... indexes) The attributes of the vector indexesThe next pagination token.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
The next pagination token.
- Parameters:
nextToken
- The next pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
The attributes of the vector indexes
- Parameters:
indexes
- The attributes of the vector indexes- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
The attributes of the vector indexes
- Parameters:
indexes
- The attributes of the vector indexes- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexes
The attributes of the vector indexes
This is a convenience method that creates an instance of theIndexSummary.Builder
avoiding the need to create one manually viaIndexSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindexes(List<IndexSummary>)
.- Parameters:
indexes
- a consumer that will call methods onIndexSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-