Interface BatchListAttachedIndicesResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchListAttachedIndicesResponse.Builder,
,BatchListAttachedIndicesResponse> SdkBuilder<BatchListAttachedIndicesResponse.Builder,
,BatchListAttachedIndicesResponse> SdkPojo
- Enclosing class:
BatchListAttachedIndicesResponse
public static interface BatchListAttachedIndicesResponse.Builder
extends SdkPojo, CopyableBuilder<BatchListAttachedIndicesResponse.Builder,BatchListAttachedIndicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionindexAttachments
(Collection<IndexAttachment> indexAttachments) The indices attached to the specified object.indexAttachments
(Consumer<IndexAttachment.Builder>... indexAttachments) The indices attached to the specified object.indexAttachments
(IndexAttachment... indexAttachments) The indices attached to the specified object.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
BatchListAttachedIndicesResponse.Builder indexAttachments(Collection<IndexAttachment> indexAttachments) The indices attached to the specified object.
- Parameters:
indexAttachments
- The indices attached to the specified object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexAttachments
The indices attached to the specified object.
- Parameters:
indexAttachments
- The indices attached to the specified object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexAttachments
BatchListAttachedIndicesResponse.Builder indexAttachments(Consumer<IndexAttachment.Builder>... indexAttachments) The indices attached to the specified object.
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.
-