Interface BatchImportFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchImportFindingsResponse.Builder,,BatchImportFindingsResponse> SdkBuilder<BatchImportFindingsResponse.Builder,,BatchImportFindingsResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
BatchImportFindingsResponse
public static interface BatchImportFindingsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<BatchImportFindingsResponse.Builder,BatchImportFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedCount(Integer failedCount) The number of findings that failed to import.failedFindings(Collection<ImportFindingsError> failedFindings) The list of findings that failed to import.failedFindings(Consumer<ImportFindingsError.Builder>... failedFindings) The list of findings that failed to import.failedFindings(ImportFindingsError... failedFindings) The list of findings that failed to import.successCount(Integer successCount) The number of findings that were successfully imported.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
failedCount
The number of findings that failed to import.
- Parameters:
failedCount- The number of findings that failed to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successCount
The number of findings that were successfully imported.
- Parameters:
successCount- The number of findings that were successfully imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedFindings
The list of findings that failed to import.
- Parameters:
failedFindings- The list of findings that failed to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedFindings
The list of findings that failed to import.
- Parameters:
failedFindings- The list of findings that failed to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedFindings
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.Builderavoiding the need to create one manually viaImportFindingsError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedFindings(List<ImportFindingsError>).- Parameters:
failedFindings- a consumer that will call methods onImportFindingsError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-