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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VulnerabilityCodeVulnerabilities.Buildercwes(String... cwes)The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.VulnerabilityCodeVulnerabilities.Buildercwes(Collection<String> cwes)The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.default VulnerabilityCodeVulnerabilities.BuilderfilePath(Consumer<CodeVulnerabilitiesFilePath.Builder> filePath)Provides details about where a code vulnerability is located in your Lambda function.VulnerabilityCodeVulnerabilities.BuilderfilePath(CodeVulnerabilitiesFilePath filePath)Provides details about where a code vulnerability is located in your Lambda function.VulnerabilityCodeVulnerabilities.BuildersourceArn(String sourceArn)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
cwes
VulnerabilityCodeVulnerabilities.Builder cwes(Collection<String> 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
VulnerabilityCodeVulnerabilities.Builder cwes(String... 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
VulnerabilityCodeVulnerabilities.Builder filePath(CodeVulnerabilitiesFilePath 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:
filePath(CodeVulnerabilitiesFilePath)
-
sourceArn
VulnerabilityCodeVulnerabilities.Builder sourceArn(String 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.
-
-