Interface ListScanJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListScanJobsResponse.Builder,,ListScanJobsResponse> SdkBuilder<ListScanJobsResponse.Builder,,ListScanJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListScanJobsResponse
@Mutable
@NotThreadSafe
public static interface ListScanJobsResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListScanJobsResponse.Builder,ListScanJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe next item following a partial list of returned items.scanJobs(Collection<ScanJob> scanJobs) An array of structures containing metadata about your scan jobs returned in JSON format.scanJobs(Consumer<ScanJob.Builder>... scanJobs) An array of structures containing metadata about your scan jobs returned in JSON format.An array of structures containing metadata about your scan jobs returned in JSON format.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,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 items. For example, if a request is made to returnMaxResultsnumber of items,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.
-
scanJobs
An array of structures containing metadata about your scan jobs returned in JSON format.
- Parameters:
scanJobs- An array of structures containing metadata about your scan jobs returned in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanJobs
An array of structures containing metadata about your scan jobs returned in JSON format.
- Parameters:
scanJobs- An array of structures containing metadata about your scan jobs returned in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanJobs
An array of structures containing metadata about your scan jobs returned in JSON format.
This is a convenience method that creates an instance of theScanJob.Builderavoiding the need to create one manually viaScanJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanJobs(List<ScanJob>).- Parameters:
scanJobs- a consumer that will call methods onScanJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-