public static interface Finding.Builder extends SdkPojo, CopyableBuilder<Finding.Builder,Finding>
| Modifier and Type | Method and Description |
|---|---|
Finding.Builder |
createdAt(Instant createdAt)
The time when the finding was created.
|
Finding.Builder |
description(String description)
A description of the finding.
|
Finding.Builder |
detectorId(String detectorId)
The identifier for the detector that detected the finding in your code.
|
Finding.Builder |
detectorName(String detectorName)
The name of the detector that identified the security vulnerability in your code.
|
Finding.Builder |
detectorTags(Collection<String> detectorTags)
One or more tags or categorizations that are associated with a detector.
|
Finding.Builder |
detectorTags(String... detectorTags)
One or more tags or categorizations that are associated with a detector.
|
Finding.Builder |
generatorId(String generatorId)
The identifier for the component that generated a finding such as AWSCodeGuruSecurity or AWSInspector.
|
Finding.Builder |
id(String id)
The identifier for a finding.
|
default Finding.Builder |
remediation(Consumer<Remediation.Builder> remediation)
An object that contains the details about how to remediate a finding.
|
Finding.Builder |
remediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
|
default Finding.Builder |
resource(Consumer<Resource.Builder> resource)
The resource where Amazon CodeGuru Security detected a finding.
|
Finding.Builder |
resource(Resource resource)
The resource where Amazon CodeGuru Security detected a finding.
|
Finding.Builder |
ruleId(String ruleId)
The identifier for the rule that generated the finding.
|
Finding.Builder |
severity(Severity severity)
The severity of the finding.
|
Finding.Builder |
severity(String severity)
The severity of the finding.
|
Finding.Builder |
status(Status status)
The status of the finding.
|
Finding.Builder |
status(String status)
The status of the finding.
|
Finding.Builder |
title(String title)
The title of the finding.
|
Finding.Builder |
type(String type)
The type of finding.
|
Finding.Builder |
updatedAt(Instant updatedAt)
The time when the finding was last updated.
|
default Finding.Builder |
vulnerability(Consumer<Vulnerability.Builder> vulnerability)
An object that describes the detected security vulnerability.
|
Finding.Builder |
vulnerability(Vulnerability vulnerability)
An object that describes the detected security vulnerability.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFinding.Builder createdAt(Instant createdAt)
The time when the finding was created.
createdAt - The time when the finding was created.Finding.Builder description(String description)
A description of the finding.
description - A description of the finding.Finding.Builder detectorId(String detectorId)
The identifier for the detector that detected the finding in your code. A detector is a defined rule based on industry standards and AWS best practices.
detectorId - The identifier for the detector that detected the finding in your code. A detector is a defined rule
based on industry standards and AWS best practices.Finding.Builder detectorName(String detectorName)
The name of the detector that identified the security vulnerability in your code.
detectorName - The name of the detector that identified the security vulnerability in your code.Finding.Builder detectorTags(Collection<String> detectorTags)
One or more tags or categorizations that are associated with a detector. These tags are defined by type, programming language, or other classification such as maintainability or consistency.
detectorTags - One or more tags or categorizations that are associated with a detector. These tags are defined by
type, programming language, or other classification such as maintainability or consistency.Finding.Builder detectorTags(String... detectorTags)
One or more tags or categorizations that are associated with a detector. These tags are defined by type, programming language, or other classification such as maintainability or consistency.
detectorTags - One or more tags or categorizations that are associated with a detector. These tags are defined by
type, programming language, or other classification such as maintainability or consistency.Finding.Builder generatorId(String generatorId)
The identifier for the component that generated a finding such as AWSCodeGuruSecurity or AWSInspector.
generatorId - The identifier for the component that generated a finding such as AWSCodeGuruSecurity or AWSInspector.Finding.Builder id(String id)
The identifier for a finding.
id - The identifier for a finding.Finding.Builder remediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
remediation - An object that contains the details about how to remediate a finding.default Finding.Builder remediation(Consumer<Remediation.Builder> remediation)
An object that contains the details about how to remediate a finding.
This is a convenience method that creates an instance of theRemediation.Builder avoiding the need to
create one manually via Remediation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to remediation(Remediation).
remediation - a consumer that will call methods on Remediation.Builderremediation(Remediation)Finding.Builder resource(Resource resource)
The resource where Amazon CodeGuru Security detected a finding.
resource - The resource where Amazon CodeGuru Security detected a finding.default Finding.Builder resource(Consumer<Resource.Builder> resource)
The resource where Amazon CodeGuru Security detected a finding.
This is a convenience method that creates an instance of theResource.Builder avoiding the need to
create one manually via Resource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to resource(Resource).
resource - a consumer that will call methods on Resource.Builderresource(Resource)Finding.Builder ruleId(String ruleId)
The identifier for the rule that generated the finding.
ruleId - The identifier for the rule that generated the finding.Finding.Builder severity(String severity)
The severity of the finding.
Finding.Builder severity(Severity severity)
The severity of the finding.
Finding.Builder status(String status)
The status of the finding. A finding status can be open or closed.
Finding.Builder status(Status status)
The status of the finding. A finding status can be open or closed.
Finding.Builder title(String title)
The title of the finding.
title - The title of the finding.Finding.Builder type(String type)
The type of finding.
type - The type of finding.Finding.Builder updatedAt(Instant updatedAt)
The time when the finding was last updated. Findings are updated when you remediate them or when the finding code location changes.
updatedAt - The time when the finding was last updated. Findings are updated when you remediate them or when the
finding code location changes.Finding.Builder vulnerability(Vulnerability vulnerability)
An object that describes the detected security vulnerability.
vulnerability - An object that describes the detected security vulnerability.default Finding.Builder vulnerability(Consumer<Vulnerability.Builder> vulnerability)
An object that describes the detected security vulnerability.
This is a convenience method that creates an instance of theVulnerability.Builder avoiding the need
to create one manually via Vulnerability.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to vulnerability(Vulnerability).
vulnerability - a consumer that will call methods on Vulnerability.Buildervulnerability(Vulnerability)Copyright © 2023. All rights reserved.