Interface BatchUpdateFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchUpdateFindingsResponse.Builder,,BatchUpdateFindingsResponse> SdkBuilder<BatchUpdateFindingsResponse.Builder,,BatchUpdateFindingsResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
BatchUpdateFindingsResponse
public static interface BatchUpdateFindingsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateFindingsResponse.Builder,BatchUpdateFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprocessedFindings(Collection<AwsSecurityFindingIdentifier> processedFindings) The list of findings that were updated successfully.processedFindings(Consumer<AwsSecurityFindingIdentifier.Builder>... processedFindings) The list of findings that were updated successfully.processedFindings(AwsSecurityFindingIdentifier... processedFindings) The list of findings that were updated successfully.unprocessedFindings(Collection<BatchUpdateFindingsUnprocessedFinding> unprocessedFindings) The list of findings that were not updated.unprocessedFindings(Consumer<BatchUpdateFindingsUnprocessedFinding.Builder>... unprocessedFindings) The list of findings that were not updated.unprocessedFindings(BatchUpdateFindingsUnprocessedFinding... unprocessedFindings) The list of findings that were not updated.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
-
processedFindings
BatchUpdateFindingsResponse.Builder processedFindings(Collection<AwsSecurityFindingIdentifier> processedFindings) The list of findings that were updated successfully.
- Parameters:
processedFindings- The list of findings that were updated successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedFindings
BatchUpdateFindingsResponse.Builder processedFindings(AwsSecurityFindingIdentifier... processedFindings) The list of findings that were updated successfully.
- Parameters:
processedFindings- The list of findings that were updated successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedFindings
BatchUpdateFindingsResponse.Builder processedFindings(Consumer<AwsSecurityFindingIdentifier.Builder>... processedFindings) The list of findings that were updated successfully.
This is a convenience method that creates an instance of theAwsSecurityFindingIdentifier.Builderavoiding the need to create one manually viaAwsSecurityFindingIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprocessedFindings(List<AwsSecurityFindingIdentifier>).- Parameters:
processedFindings- a consumer that will call methods onAwsSecurityFindingIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unprocessedFindings
BatchUpdateFindingsResponse.Builder unprocessedFindings(Collection<BatchUpdateFindingsUnprocessedFinding> unprocessedFindings) The list of findings that were not updated.
- Parameters:
unprocessedFindings- The list of findings that were not updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedFindings
BatchUpdateFindingsResponse.Builder unprocessedFindings(BatchUpdateFindingsUnprocessedFinding... unprocessedFindings) The list of findings that were not updated.
- Parameters:
unprocessedFindings- The list of findings that were not updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedFindings
BatchUpdateFindingsResponse.Builder unprocessedFindings(Consumer<BatchUpdateFindingsUnprocessedFinding.Builder>... unprocessedFindings) The list of findings that were not updated.
This is a convenience method that creates an instance of theBatchUpdateFindingsUnprocessedFinding.Builderavoiding the need to create one manually viaBatchUpdateFindingsUnprocessedFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounprocessedFindings(List<BatchUpdateFindingsUnprocessedFinding>).- Parameters:
unprocessedFindings- a consumer that will call methods onBatchUpdateFindingsUnprocessedFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-