public static interface CodeVulnerabilityDetails.Builder extends SdkPojo, CopyableBuilder<CodeVulnerabilityDetails.Builder,CodeVulnerabilityDetails>
| Modifier and Type | Method and Description |
|---|---|
CodeVulnerabilityDetails.Builder |
cwes(Collection<String> cwes)
The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
|
CodeVulnerabilityDetails.Builder |
cwes(String... cwes)
The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
|
CodeVulnerabilityDetails.Builder |
detectorId(String detectorId)
The ID for the Amazon CodeGuru detector associated with the finding.
|
CodeVulnerabilityDetails.Builder |
detectorName(String detectorName)
The name of the detector used to identify the code vulnerability.
|
CodeVulnerabilityDetails.Builder |
detectorTags(Collection<String> detectorTags)
The detector tag associated with the vulnerability.
|
CodeVulnerabilityDetails.Builder |
detectorTags(String... detectorTags)
The detector tag associated with the vulnerability.
|
CodeVulnerabilityDetails.Builder |
filePath(CodeFilePath filePath)
Contains information on where the code vulnerability is located in your code.
|
default CodeVulnerabilityDetails.Builder |
filePath(Consumer<CodeFilePath.Builder> filePath)
Contains information on where the code vulnerability is located in your code.
|
CodeVulnerabilityDetails.Builder |
referenceUrls(Collection<String> referenceUrls)
A URL containing supporting documentation about the code vulnerability detected.
|
CodeVulnerabilityDetails.Builder |
referenceUrls(String... referenceUrls)
A URL containing supporting documentation about the code vulnerability detected.
|
CodeVulnerabilityDetails.Builder |
ruleId(String ruleId)
The identifier for a rule that was used to detect the code vulnerability.
|
CodeVulnerabilityDetails.Builder |
sourceLambdaLayerArn(String sourceLambdaLayerArn)
The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCodeVulnerabilityDetails.Builder cwes(Collection<String> cwes)
The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
cwes - The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.CodeVulnerabilityDetails.Builder cwes(String... cwes)
The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
cwes - The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.CodeVulnerabilityDetails.Builder detectorId(String detectorId)
The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see Amazon CodeGuru Detector Library.
detectorId - The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors
see Amazon CodeGuru Detector
Library.CodeVulnerabilityDetails.Builder detectorName(String detectorName)
The name of the detector used to identify the code vulnerability. For more information on detectors see CodeGuru Detector Library.
detectorName - The name of the detector used to identify the code vulnerability. For more information on detectors
see CodeGuru Detector Library.CodeVulnerabilityDetails.Builder detectorTags(Collection<String> detectorTags)
The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.
detectorTags - The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by
common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.CodeVulnerabilityDetails.Builder detectorTags(String... detectorTags)
The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.
detectorTags - The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by
common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.CodeVulnerabilityDetails.Builder filePath(CodeFilePath filePath)
Contains information on where the code vulnerability is located in your code.
filePath - Contains information on where the code vulnerability is located in your code.default CodeVulnerabilityDetails.Builder filePath(Consumer<CodeFilePath.Builder> filePath)
Contains information on where the code vulnerability is located in your code.
This is a convenience method that creates an instance of theCodeFilePath.Builder avoiding the need
to create one manually via CodeFilePath.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to filePath(CodeFilePath).
filePath - a consumer that will call methods on CodeFilePath.BuilderfilePath(CodeFilePath)CodeVulnerabilityDetails.Builder referenceUrls(Collection<String> referenceUrls)
A URL containing supporting documentation about the code vulnerability detected.
referenceUrls - A URL containing supporting documentation about the code vulnerability detected.CodeVulnerabilityDetails.Builder referenceUrls(String... referenceUrls)
A URL containing supporting documentation about the code vulnerability detected.
referenceUrls - A URL containing supporting documentation about the code vulnerability detected.CodeVulnerabilityDetails.Builder ruleId(String ruleId)
The identifier for a rule that was used to detect the code vulnerability.
ruleId - The identifier for a rule that was used to detect the code vulnerability.CodeVulnerabilityDetails.Builder sourceLambdaLayerArn(String sourceLambdaLayerArn)
The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.
sourceLambdaLayerArn - The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.Copyright © 2023. All rights reserved.