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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListScansResponse.BuildernextToken(String nextToken)A pagination token.ListScansResponse.Buildersummaries(Collection<ScanSummary> summaries)A list ofScanSummaryobjects with information about all scans in an account.ListScansResponse.Buildersummaries(Consumer<ScanSummary.Builder>... summaries)A list ofScanSummaryobjects with information about all scans in an account.ListScansResponse.Buildersummaries(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, 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 Detail
-
nextToken
ListScansResponse.Builder nextToken(String 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
ListScansResponse.Builder summaries(Collection<ScanSummary> 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
ListScansResponse.Builder summaries(ScanSummary... 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
ListScansResponse.Builder summaries(Consumer<ScanSummary.Builder>... 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 to#summaries(List.) - 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:
#summaries(java.util.Collection)
-
-