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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListIndexResponse.BuilderindexAttachments(Collection<IndexAttachment> indexAttachments)The objects and indexed values attached to the index.ListIndexResponse.BuilderindexAttachments(Consumer<IndexAttachment.Builder>... indexAttachments)The objects and indexed values attached to the index.ListIndexResponse.BuilderindexAttachments(IndexAttachment... indexAttachments)The objects and indexed values attached to the index.ListIndexResponse.BuildernextToken(String nextToken)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 Detail
-
indexAttachments
ListIndexResponse.Builder indexAttachments(Collection<IndexAttachment> 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
ListIndexResponse.Builder indexAttachments(IndexAttachment... 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
ListIndexResponse.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.Builderavoiding the need to create one manually viaIndexAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#indexAttachments(List.) - 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:
#indexAttachments(java.util.Collection)
-
nextToken
ListIndexResponse.Builder nextToken(String nextToken)
The pagination token.
- Parameters:
nextToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-