Interface ListSearchJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupSearchResponse.Builder
,Buildable
,CopyableBuilder<ListSearchJobsResponse.Builder,
,ListSearchJobsResponse> SdkBuilder<ListSearchJobsResponse.Builder,
,ListSearchJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSearchJobsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe next item following a partial list of returned backups included in a search job.searchJobs
(Collection<SearchJobSummary> searchJobs) The search jobs among the list, with details of the returned search jobs.searchJobs
(Consumer<SearchJobSummary.Builder>... searchJobs) The search jobs among the list, with details of the returned search jobs.searchJobs
(SearchJobSummary... searchJobs) The search jobs among the list, with details of the returned search jobs.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
-
searchJobs
The search jobs among the list, with details of the returned search jobs.
- Parameters:
searchJobs
- The search jobs among the list, with details of the returned search jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchJobs
The search jobs among the list, with details of the returned search jobs.
- Parameters:
searchJobs
- The search jobs among the list, with details of the returned search jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchJobs
The search jobs among the list, with details of the returned search jobs.
This is a convenience method that creates an instance of theSearchJobSummary.Builder
avoiding the need to create one manually viaSearchJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosearchJobs(List<SearchJobSummary>)
.- Parameters:
searchJobs
- a consumer that will call methods onSearchJobSummary.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 returned backups included in a search job.
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 returned backups included in a search job.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.
-