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 cannot be imported.
|
BatchImportFindingsResponse.Builder |
failedFindings(Collection<ImportFindingsError> failedFindings)
The list of the findings that cannot be imported.
|
BatchImportFindingsResponse.Builder |
failedFindings(Consumer<ImportFindingsError.Builder>... failedFindings)
The list of the findings that cannot be imported.
|
BatchImportFindingsResponse.Builder |
failedFindings(ImportFindingsError... failedFindings)
The list of the findings that cannot be imported.
|
BatchImportFindingsResponse.Builder |
successCount(Integer successCount)
The number of findings that were successfully imported
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
BatchImportFindingsResponse.Builder failedCount(Integer failedCount)
The number of findings that cannot be imported.
failedCount
- The number of findings that cannot be imported.BatchImportFindingsResponse.Builder successCount(Integer successCount)
The number of findings that were successfully imported
successCount
- The number of findings that were successfully importedBatchImportFindingsResponse.Builder failedFindings(Collection<ImportFindingsError> failedFindings)
The list of the findings that cannot be imported.
failedFindings
- The list of the findings that cannot be imported.BatchImportFindingsResponse.Builder failedFindings(ImportFindingsError... failedFindings)
The list of the findings that cannot be imported.
failedFindings
- The list of the findings that cannot be imported.BatchImportFindingsResponse.Builder failedFindings(Consumer<ImportFindingsError.Builder>... failedFindings)
The list of the findings that cannot be imported.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #failedFindings(List)
.failedFindings
- a consumer that will call methods on List.Builder
#failedFindings(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.