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 SummaryModifier and TypeMethodDescriptiondefault Vulnerability.BuilderfilePath(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
referenceUrlsOne 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.
 
- 
referenceUrlsOne 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.
 
- 
idThe 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.
 
- 
filePathAn 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.
 
- 
filePathAn object that describes the location of the detected security vulnerability in your code. This is a convenience method that creates an instance of theFilePath.Builderavoiding the need to create one manually viaFilePath.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilePath(FilePath).- Parameters:
- filePath- a consumer that will call methods on- FilePath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
itemCountDeprecated.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.
 
 
-