Interface BatchExportFindingResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchExportFindingResult.Builder,,BatchExportFindingResult> SdkBuilder<BatchExportFindingResult.Builder,,BatchExportFindingResult> SdkPojo
- Enclosing class:
BatchExportFindingResult
@Mutable
@NotThreadSafe
public static interface BatchExportFindingResult.Builder
extends SdkPojo, CopyableBuilder<BatchExportFindingResult.Builder,BatchExportFindingResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the finding this result corresponds to.default BatchExportFindingResult.BuilderlinkedIssue(Consumer<LinkedIssue.Builder> linkedIssue) The issue that was created for the finding.linkedIssue(LinkedIssue linkedIssue) The issue that was created for the finding.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, sdkFields
-
Method Details
-
findingId
The identifier of the finding this result corresponds to.
- Parameters:
findingId- The identifier of the finding this result corresponds to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedIssue
The issue that was created for the finding.
- Parameters:
linkedIssue- The issue that was created for the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedIssue
The issue that was created for the finding.
This is a convenience method that creates an instance of theLinkedIssue.Builderavoiding the need to create one manually viaLinkedIssue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolinkedIssue(LinkedIssue).- Parameters:
linkedIssue- a consumer that will call methods onLinkedIssue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-