Interface Vulnerability.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Vulnerability.Builder,
,Vulnerability> SdkBuilder<Vulnerability.Builder,
,Vulnerability> SdkPojo
- Enclosing class:
Vulnerability
@Mutable
@NotThreadSafe
public static interface Vulnerability.Builder
extends SdkPojo, CopyableBuilder<Vulnerability.Builder,Vulnerability>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Vulnerability.Builder
filePath
(Consumer<FilePath.Builder> filePath) An object that describes the location of the detected security vulnerability in your code.An object that describes the location of the detected security vulnerability in your code.The identifier for the vulnerability.Deprecated.This shape is not used.referenceUrls
(String... referenceUrls) One or more URL addresses that contain details about a vulnerability.referenceUrls
(Collection<String> referenceUrls) One or more URL addresses that contain details about a vulnerability.relatedVulnerabilities
(String... relatedVulnerabilities) One or more vulnerabilities that are related to the vulnerability being described.relatedVulnerabilities
(Collection<String> relatedVulnerabilities) One or more vulnerabilities that are related to the vulnerability being described.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 Details
-
filePath
An object that describes the location of the detected security vulnerability in your code.
- Parameters:
filePath
- An object that describes the location of the detected security vulnerability in your code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePath
An object that describes the location of the detected security vulnerability in your code.
This is a convenience method that creates an instance of theFilePath.Builder
avoiding the need to create one manually viaFilePath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilePath(FilePath)
.- Parameters:
filePath
- a consumer that will call methods onFilePath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The identifier for the vulnerability.
- Parameters:
id
- The identifier for the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemCount
Deprecated.This shape is not used.The number of times the vulnerability appears in your code.
- Parameters:
itemCount
- The number of times the vulnerability appears in your code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceUrls
One or more URL addresses that contain details about a vulnerability.
- Parameters:
referenceUrls
- One or more URL addresses that contain details about a vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceUrls
One or more URL addresses that contain details about a vulnerability.
- Parameters:
referenceUrls
- One or more URL addresses that contain details about a vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-