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 ofScanSummaryobjects with information about all scans in an account.summaries(Consumer<ScanSummary.Builder>... summaries) A list ofScanSummaryobjects with information about all scans in an account.summaries(ScanSummary... summaries) A list ofScanSummaryobjects with information about all scans in an account.Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.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, sdkFieldsMethods 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
ListScansto continue listing results after the current page.- Parameters:
nextToken- A pagination token. You can use this in future calls toListScansto 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
ScanSummaryobjects with information about all scans in an account.- Parameters:
summaries- A list ofScanSummaryobjects 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
ScanSummaryobjects with information about all scans in an account.- Parameters:
summaries- A list ofScanSummaryobjects 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 theScanSummaryobjects with information about all scans in an account.ScanSummary.Builderavoiding the need to create one manually viaScanSummary.builder().When the
Consumercompletes,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:
-