Interface BatchListIndexResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchListIndexResponse.Builder,
,BatchListIndexResponse> SdkBuilder<BatchListIndexResponse.Builder,
,BatchListIndexResponse> SdkPojo
- Enclosing class:
BatchListIndexResponse
public static interface BatchListIndexResponse.Builder
extends SdkPojo, CopyableBuilder<BatchListIndexResponse.Builder,BatchListIndexResponse>
-
Method Summary
Modifier and TypeMethodDescriptionindexAttachments
(Collection<IndexAttachment> indexAttachments) The objects and indexed values attached to the index.indexAttachments
(Consumer<IndexAttachment.Builder>... indexAttachments) The objects and indexed values attached to the index.indexAttachments
(IndexAttachment... indexAttachments) The objects and indexed values attached to the index.The pagination token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
indexAttachments
The objects and indexed values attached to the index.
- Parameters:
indexAttachments
- The objects and indexed values attached to the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexAttachments
The objects and indexed values attached to the index.
- Parameters:
indexAttachments
- The objects and indexed values attached to the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexAttachments
BatchListIndexResponse.Builder indexAttachments(Consumer<IndexAttachment.Builder>... indexAttachments) The objects and indexed values attached to the index.
This is a convenience method that creates an instance of theIndexAttachment.Builder
avoiding the need to create one manually viaIndexAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindexAttachments(List<IndexAttachment>)
.- Parameters:
indexAttachments
- a consumer that will call methods onIndexAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token.
- Parameters:
nextToken
- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-