Interface ListAttachedIndicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudDirectoryResponse.Builder
,CopyableBuilder<ListAttachedIndicesResponse.Builder,
,ListAttachedIndicesResponse> SdkBuilder<ListAttachedIndicesResponse.Builder,
,ListAttachedIndicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAttachedIndicesResponse
public static interface ListAttachedIndicesResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<ListAttachedIndicesResponse.Builder,ListAttachedIndicesResponse>
-
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.services.clouddirectory.model.CloudDirectoryResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
ListAttachedIndicesResponse.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.
-