public static interface BatchGetFindingsResponse.Builder extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<BatchGetFindingsResponse.Builder,BatchGetFindingsResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchGetFindingsResponse.Builder |
failedFindings(BatchGetFindingsError... failedFindings)
A list of errors for individual findings which were not fetched.
|
BatchGetFindingsResponse.Builder |
failedFindings(Collection<BatchGetFindingsError> failedFindings)
A list of errors for individual findings which were not fetched.
|
BatchGetFindingsResponse.Builder |
failedFindings(Consumer<BatchGetFindingsError.Builder>... failedFindings)
A list of errors for individual findings which were not fetched.
|
BatchGetFindingsResponse.Builder |
findings(Collection<Finding> findings)
A list of all requested findings.
|
BatchGetFindingsResponse.Builder |
findings(Consumer<Finding.Builder>... findings)
A list of all requested findings.
|
BatchGetFindingsResponse.Builder |
findings(Finding... findings)
A list of all requested findings.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchGetFindingsResponse.Builder failedFindings(Collection<BatchGetFindingsError> failedFindings)
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.
failedFindings - A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains
the scanName, findingId, errorCode and error
message.BatchGetFindingsResponse.Builder failedFindings(BatchGetFindingsError... failedFindings)
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.
failedFindings - A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains
the scanName, findingId, errorCode and error
message.BatchGetFindingsResponse.Builder failedFindings(Consumer<BatchGetFindingsError.Builder>... failedFindings)
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.
BatchGetFindingsError.Builder avoiding the
need to create one manually via
BatchGetFindingsError.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #failedFindings(List.
failedFindings - a consumer that will call methods on
BatchGetFindingsError.Builder#failedFindings(java.util.Collection) BatchGetFindingsResponse.Builder findings(Collection<Finding> findings)
A list of all requested findings.
findings - A list of all requested findings.BatchGetFindingsResponse.Builder findings(Finding... findings)
A list of all requested findings.
findings - A list of all requested findings.BatchGetFindingsResponse.Builder findings(Consumer<Finding.Builder>... findings)
A list of all requested findings.
This is a convenience method that creates an instance of theFinding.Builder avoiding the need to create
one manually via Finding.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #findings(List.
findings - a consumer that will call methods on
Finding.Builder#findings(java.util.Collection) Copyright © 2023. All rights reserved.