Interface BatchExportFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchExportFindingsResponse.Builder,,BatchExportFindingsResponse> SdkBuilder<BatchExportFindingsResponse.Builder,,BatchExportFindingsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchExportFindingsResponse
@Mutable
@NotThreadSafe
public static interface BatchExportFindingsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchExportFindingsResponse.Builder,BatchExportFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchExportFindingError> errors) The findings whose issue could not be created, each with a customer-facing reason.errors(Consumer<BatchExportFindingError.Builder>... errors) The findings whose issue could not be created, each with a customer-facing reason.errors(BatchExportFindingError... errors) The findings whose issue could not be created, each with a customer-facing reason.results(Collection<BatchExportFindingResult> results) The findings whose issue was created, each with its linked issue.results(Consumer<BatchExportFindingResult.Builder>... results) The findings whose issue was created, each with its linked issue.results(BatchExportFindingResult... results) The findings whose issue was created, each with its linked issue.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
results
The findings whose issue was created, each with its linked issue.
- Parameters:
results- The findings whose issue was created, each with its linked issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The findings whose issue was created, each with its linked issue.
- Parameters:
results- The findings whose issue was created, each with its linked issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The findings whose issue was created, each with its linked issue.
This is a convenience method that creates an instance of theBatchExportFindingResult.Builderavoiding the need to create one manually viaBatchExportFindingResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(List<BatchExportFindingResult>).- Parameters:
results- a consumer that will call methods onBatchExportFindingResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
The findings whose issue could not be created, each with a customer-facing reason.
- Parameters:
errors- The findings whose issue could not be created, each with a customer-facing reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The findings whose issue could not be created, each with a customer-facing reason.
- Parameters:
errors- The findings whose issue could not be created, each with a customer-facing reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The findings whose issue could not be created, each with a customer-facing reason.
This is a convenience method that creates an instance of theBatchExportFindingError.Builderavoiding the need to create one manually viaBatchExportFindingError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchExportFindingError>).- Parameters:
errors- a consumer that will call methods onBatchExportFindingError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-