Interface VulnerabilityCodeVulnerabilities.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VulnerabilityCodeVulnerabilities.Builder,,VulnerabilityCodeVulnerabilities> SdkBuilder<VulnerabilityCodeVulnerabilities.Builder,,VulnerabilityCodeVulnerabilities> SdkPojo
- Enclosing class:
VulnerabilityCodeVulnerabilities
public static interface VulnerabilityCodeVulnerabilities.Builder
extends SdkPojo, CopyableBuilder<VulnerabilityCodeVulnerabilities.Builder,VulnerabilityCodeVulnerabilities>
-
Method Summary
Modifier and TypeMethodDescriptionThe Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.cwes(Collection<String> cwes) The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.filePath(Consumer<CodeVulnerabilitiesFilePath.Builder> filePath) Provides details about where a code vulnerability is located in your Lambda function.filePath(CodeVulnerabilitiesFilePath filePath) Provides details about where a code vulnerability is located in your Lambda function.The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.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, sdkFields
-
Method Details
-
cwes
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
- Parameters:
cwes- The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cwes
The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
- Parameters:
cwes- The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePath
Provides details about where a code vulnerability is located in your Lambda function.
- Parameters:
filePath- Provides details about where a code vulnerability is located in your Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePath
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.Builderavoiding the need to create one manually viaCodeVulnerabilitiesFilePath.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilePath(CodeVulnerabilitiesFilePath).- Parameters:
filePath- a consumer that will call methods onCodeVulnerabilitiesFilePath.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceArn
The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
- Parameters:
sourceArn- The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-