Interface ListSearchJobBackupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupSearchResponse.Builder,Buildable,CopyableBuilder<ListSearchJobBackupsResponse.Builder,ListSearchJobBackupsResponse>,SdkBuilder<ListSearchJobBackupsResponse.Builder,ListSearchJobBackupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSearchJobBackupsResponse
public static interface ListSearchJobBackupsResponse.Builder extends BackupSearchResponse.Builder, SdkPojo, CopyableBuilder<ListSearchJobBackupsResponse.Builder,ListSearchJobBackupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSearchJobBackupsResponse.BuildernextToken(String nextToken)The next item following a partial list of returned backups included in a search job.ListSearchJobBackupsResponse.Builderresults(Collection<SearchJobBackupsResult> results)The recovery points returned the results of a search jobListSearchJobBackupsResponse.Builderresults(Consumer<SearchJobBackupsResult.Builder>... results)The recovery points returned the results of a search jobListSearchJobBackupsResponse.Builderresults(SearchJobBackupsResult... results)The recovery points returned the results of a search job-
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
-
results
ListSearchJobBackupsResponse.Builder results(Collection<SearchJobBackupsResult> 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
ListSearchJobBackupsResponse.Builder results(SearchJobBackupsResult... 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
ListSearchJobBackupsResponse.Builder results(Consumer<SearchJobBackupsResult.Builder>... results)
The recovery points returned the results of a search job
This is a convenience method that creates an instance of theSearchJobBackupsResult.Builderavoiding the need to create one manually viaSearchJobBackupsResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#results(List.) - 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:
#results(java.util.Collection)
-
nextToken
ListSearchJobBackupsResponse.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.
-
-