Interface ListSearchJobResultsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupSearchResponse.Builder,Buildable,CopyableBuilder<ListSearchJobResultsResponse.Builder,ListSearchJobResultsResponse>,SdkBuilder<ListSearchJobResultsResponse.Builder,ListSearchJobResultsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSearchJobResultsResponse
public static interface ListSearchJobResultsResponse.Builder extends BackupSearchResponse.Builder, SdkPojo, CopyableBuilder<ListSearchJobResultsResponse.Builder,ListSearchJobResultsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSearchJobResultsResponse.BuildernextToken(String nextToken)The next item following a partial list of search job results.ListSearchJobResultsResponse.Builderresults(Collection<ResultItem> results)The results consist of either EBSResultItem or S3ResultItem.ListSearchJobResultsResponse.Builderresults(Consumer<ResultItem.Builder>... results)The results consist of either EBSResultItem or S3ResultItem.ListSearchJobResultsResponse.Builderresults(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 Detail
-
results
ListSearchJobResultsResponse.Builder results(Collection<ResultItem> 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
ListSearchJobResultsResponse.Builder results(ResultItem... 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
ListSearchJobResultsResponse.Builder results(Consumer<ResultItem.Builder>... results)
The results consist of either EBSResultItem or S3ResultItem.
This is a convenience method that creates an instance of theResultItem.Builderavoiding the need to create one manually viaResultItem.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 onResultItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#results(java.util.Collection)
-
nextToken
ListSearchJobResultsResponse.Builder nextToken(String nextToken)
The next item following a partial list of search job results.
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 search job results.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.
-
-