Interface ListSearchJobBackupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupSearchResponse.Builder
,Buildable
,CopyableBuilder<ListSearchJobBackupsResponse.Builder,
,ListSearchJobBackupsResponse> SdkBuilder<ListSearchJobBackupsResponse.Builder,
,ListSearchJobBackupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSearchJobBackupsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe next item following a partial list of returned backups included in a search job.results
(Collection<SearchJobBackupsResult> results) The recovery points returned the results of a search jobresults
(Consumer<SearchJobBackupsResult.Builder>... results) The recovery points returned the results of a search jobresults
(SearchJobBackupsResult... results) The recovery points returned the results of a search jobMethods 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 recovery points returned the results of a search job
- Parameters:
results
- The recovery points returned the results of a search job- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The recovery points returned the results of a search job
- Parameters:
results
- The recovery points returned the results of a search job- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The recovery points returned the results of a search job
This is a convenience method that creates an instance of theSearchJobBackupsResult.Builder
avoiding the need to create one manually viaSearchJobBackupsResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresults(List<SearchJobBackupsResult>)
.- Parameters:
results
- a consumer that will call methods onSearchJobBackupsResult.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.
-