public static interface VulnerabilityCodeVulnerabilities.Builder extends SdkPojo, CopyableBuilder<VulnerabilityCodeVulnerabilities.Builder,VulnerabilityCodeVulnerabilities>
| Modifier and Type | Method and Description |
|---|---|
VulnerabilityCodeVulnerabilities.Builder |
cwes(Collection<String> cwes)
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
|
VulnerabilityCodeVulnerabilities.Builder |
cwes(String... cwes)
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
|
VulnerabilityCodeVulnerabilities.Builder |
filePath(CodeVulnerabilitiesFilePath filePath)
Provides details about where a code vulnerability is located in your Lambda function.
|
default VulnerabilityCodeVulnerabilities.Builder |
filePath(Consumer<CodeVulnerabilitiesFilePath.Builder> filePath)
Provides details about where a code vulnerability is located in your Lambda function.
|
VulnerabilityCodeVulnerabilities.Builder |
sourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVulnerabilityCodeVulnerabilities.Builder cwes(Collection<String> cwes)
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
cwes - The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.VulnerabilityCodeVulnerabilities.Builder cwes(String... cwes)
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
cwes - The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.VulnerabilityCodeVulnerabilities.Builder filePath(CodeVulnerabilitiesFilePath filePath)
Provides details about where a code vulnerability is located in your Lambda function.
filePath - Provides details about where a code vulnerability is located in your Lambda function.default VulnerabilityCodeVulnerabilities.Builder filePath(Consumer<CodeVulnerabilitiesFilePath.Builder> filePath)
Provides details about where a code vulnerability is located in your Lambda function.
This is a convenience method that creates an instance of theCodeVulnerabilitiesFilePath.Builder
avoiding the need to create one manually via CodeVulnerabilitiesFilePath.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to filePath(CodeVulnerabilitiesFilePath).
filePath - a consumer that will call methods on CodeVulnerabilitiesFilePath.BuilderfilePath(CodeVulnerabilitiesFilePath)VulnerabilityCodeVulnerabilities.Builder sourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
sourceArn - The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.Copyright © 2023. All rights reserved.