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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchImportFindingsResponse.BuilderfailedCount(Integer failedCount)The number of findings that failed to import.BatchImportFindingsResponse.BuilderfailedFindings(Collection<ImportFindingsError> failedFindings)The list of findings that failed to import.BatchImportFindingsResponse.BuilderfailedFindings(Consumer<ImportFindingsError.Builder>... failedFindings)The list of findings that failed to import.BatchImportFindingsResponse.BuilderfailedFindings(ImportFindingsError... failedFindings)The list of findings that failed to import.BatchImportFindingsResponse.BuildersuccessCount(Integer successCount)The number of findings that were successfully imported.-
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
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
failedCount
BatchImportFindingsResponse.Builder failedCount(Integer 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
BatchImportFindingsResponse.Builder successCount(Integer 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
BatchImportFindingsResponse.Builder failedFindings(Collection<ImportFindingsError> 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(ImportFindingsError... 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 to#failedFindings(List.) - 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:
#failedFindings(java.util.Collection)
-
-