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
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
-
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.Builderavoiding the need to create one manually viaIndexSummary.builder().When the
Consumercompletes,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:
-