Interface ListSearchJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupSearchResponse.Builder,Buildable,CopyableBuilder<ListSearchJobsResponse.Builder,ListSearchJobsResponse>,SdkBuilder<ListSearchJobsResponse.Builder,ListSearchJobsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSearchJobsResponse
public static interface ListSearchJobsResponse.Builder extends BackupSearchResponse.Builder, SdkPojo, CopyableBuilder<ListSearchJobsResponse.Builder,ListSearchJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSearchJobsResponse.BuildernextToken(String nextToken)The next item following a partial list of returned backups included in a search job.ListSearchJobsResponse.BuildersearchJobs(Collection<SearchJobSummary> searchJobs)The search jobs among the list, with details of the returned search jobs.ListSearchJobsResponse.BuildersearchJobs(Consumer<SearchJobSummary.Builder>... searchJobs)The search jobs among the list, with details of the returned search jobs.ListSearchJobsResponse.BuildersearchJobs(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 Detail
-
searchJobs
ListSearchJobsResponse.Builder searchJobs(Collection<SearchJobSummary> 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
ListSearchJobsResponse.Builder searchJobs(SearchJobSummary... 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
ListSearchJobsResponse.Builder searchJobs(Consumer<SearchJobSummary.Builder>... 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.Builderavoiding the need to create one manually viaSearchJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#searchJobs(List.) - 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:
#searchJobs(java.util.Collection)
-
nextToken
ListSearchJobsResponse.Builder nextToken(String 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
MaxResultsnumber of backups,NextTokenallows 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
MaxResultsnumber of backups,NextTokenallows 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.
-
-