public static interface BatchImportFindingsResponse.Builder extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<BatchImportFindingsResponse.Builder,BatchImportFindingsResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchImportFindingsResponse.Builder |
failedCount(Integer failedCount)
The number of findings that failed to import.
|
BatchImportFindingsResponse.Builder |
failedFindings(Collection<ImportFindingsError> failedFindings)
The list of findings that failed to import.
|
BatchImportFindingsResponse.Builder |
failedFindings(Consumer<ImportFindingsError.Builder>... failedFindings)
The list of findings that failed to import.
|
BatchImportFindingsResponse.Builder |
failedFindings(ImportFindingsError... failedFindings)
The list of findings that failed to import.
|
BatchImportFindingsResponse.Builder |
successCount(Integer successCount)
The number of findings that were successfully imported.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchImportFindingsResponse.Builder failedCount(Integer failedCount)
The number of findings that failed to import.
failedCount - The number of findings that failed to import.BatchImportFindingsResponse.Builder successCount(Integer successCount)
The number of findings that were successfully imported.
successCount - The number of findings that were successfully imported.BatchImportFindingsResponse.Builder failedFindings(Collection<ImportFindingsError> failedFindings)
The list of findings that failed to import.
failedFindings - The list of findings that failed to import.BatchImportFindingsResponse.Builder failedFindings(ImportFindingsError... failedFindings)
The list of findings that failed to import.
failedFindings - The list of findings that failed to import.BatchImportFindingsResponse.Builder failedFindings(Consumer<ImportFindingsError.Builder>... failedFindings)
The list of findings that failed to import.
This is a convenience method that creates an instance of theImportFindingsError.Builder avoiding the need to
create one manually via
ImportFindingsError.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
ImportFindingsError.Builder#failedFindings(java.util.Collection) Copyright © 2023. All rights reserved.