Interface ListScansResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CodeGuruSecurityResponse.Builder,- CopyableBuilder<ListScansResponse.Builder,,- ListScansResponse> - SdkBuilder<ListScansResponse.Builder,,- ListScansResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListScansResponse
@Mutable
@NotThreadSafe
public static interface ListScansResponse.Builder
extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<ListScansResponse.Builder,ListScansResponse> 
- 
Method SummaryModifier 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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
summariesA list of ScanSummaryobjects with information about all scans in an account.- Parameters:
- summaries- A list of- ScanSummaryobjects with information about all scans in an account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
summariesA list of ScanSummaryobjects with information about all scans in an account.- Parameters:
- summaries- A list of- ScanSummaryobjects with information about all scans in an account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
summariesA 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 on- ScanSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenA 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 to- ListScansto continue listing results after the current page.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-