Interface ListSearchJobResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupSearchResponse.Builder
,Buildable
,CopyableBuilder<ListSearchJobResultsResponse.Builder,
,ListSearchJobResultsResponse> SdkBuilder<ListSearchJobResultsResponse.Builder,
,ListSearchJobResultsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSearchJobResultsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe next item following a partial list of search job results.results
(Collection<ResultItem> results) The results consist of either EBSResultItem or S3ResultItem.results
(Consumer<ResultItem.Builder>... results) The results consist of either EBSResultItem or S3ResultItem.results
(ResultItem... results) The results consist of either EBSResultItem or S3ResultItem.Methods inherited from interface software.amazon.awssdk.services.backupsearch.model.BackupSearchResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
results
The results consist of either EBSResultItem or S3ResultItem.
- Parameters:
results
- The results consist of either EBSResultItem or S3ResultItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The results consist of either EBSResultItem or S3ResultItem.
- Parameters:
results
- The results consist of either EBSResultItem or S3ResultItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The results consist of either EBSResultItem or S3ResultItem.
This is a convenience method that creates an instance of theResultItem.Builder
avoiding the need to create one manually viaResultItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresults(List<ResultItem>)
.- Parameters:
results
- a consumer that will call methods onResultItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The next item following a partial list of search job results.
For example, if a request is made to return
MaxResults
number of backups,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.- Parameters:
nextToken
- The next item following a partial list of search job results.For example, if a request is made to return
MaxResults
number of backups,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-