Interface ListIndexResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudDirectoryResponse.Builder
,CopyableBuilder<ListIndexResponse.Builder,
,ListIndexResponse> SdkBuilder<ListIndexResponse.Builder,
,ListIndexResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIndexResponse
public static interface ListIndexResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<ListIndexResponse.Builder,ListIndexResponse>
-
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.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 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
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.
-