Interface ListScansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruSecurityResponse.Builder
,CopyableBuilder<ListScansResponse.Builder,
,ListScansResponse> SdkBuilder<ListScansResponse.Builder,
,ListScansResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListScansResponse
public static interface ListScansResponse.Builder
extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<ListScansResponse.Builder,ListScansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token.summaries
(Collection<ScanSummary> summaries) A list ofScanSummary
objects with information about all scans in an account.summaries
(Consumer<ScanSummary.Builder>... summaries) A list ofScanSummary
objects with information about all scans in an account.summaries
(ScanSummary... summaries) A list ofScanSummary
objects with information about all scans in an account.Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
A pagination token. You can use this in future calls to
ListScans
to continue listing results after the current page.- Parameters:
nextToken
- A pagination token. You can use this in future calls toListScans
to continue listing results after the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of
ScanSummary
objects with information about all scans in an account.- Parameters:
summaries
- A list ofScanSummary
objects with information about all scans in an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of
ScanSummary
objects with information about all scans in an account.- Parameters:
summaries
- A list ofScanSummary
objects with information about all scans in an account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of
This is a convenience method that creates an instance of theScanSummary
objects with information about all scans in an account.ScanSummary.Builder
avoiding the need to create one manually viaScanSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummaries(List<ScanSummary>)
.- Parameters:
summaries
- a consumer that will call methods onScanSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-