Interface SearchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchResponse.Builder,,SearchResponse> GlueResponse.Builder,SdkBuilder<SearchResponse.Builder,,SearchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchResponse
@Mutable
@NotThreadSafe
public static interface SearchResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<SearchResponse.Builder,SearchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<SearchResultItem> items) The list of assets matching the search criteria.items(Consumer<SearchResultItem.Builder>... items) The list of assets matching the search criteria.items(SearchResultItem... items) The list of assets matching the search criteria.A continuation token, present if the current segment is not the last.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The list of assets matching the search criteria.
- Parameters:
items- The list of assets matching the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of assets matching the search criteria.
- Parameters:
items- The list of assets matching the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of assets matching the search criteria.
This is a convenience method that creates an instance of theSearchResultItem.Builderavoiding the need to create one manually viaSearchResultItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<SearchResultItem>).- Parameters:
items- a consumer that will call methods onSearchResultItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token, present if the current segment is not the last.
- Parameters:
nextToken- A continuation token, present if the current segment is not the last.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-