Interface Vulnerability.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Vulnerability.Builder,Vulnerability>,SdkBuilder<Vulnerability.Builder,Vulnerability>,SdkPojo
- Enclosing class:
- Vulnerability
public static interface Vulnerability.Builder extends SdkPojo, CopyableBuilder<Vulnerability.Builder,Vulnerability>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Vulnerability.BuilderatigData(Consumer<AtigData.Builder> atigData)An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.Vulnerability.BuilderatigData(AtigData atigData)An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.default Vulnerability.BuildercisaData(Consumer<CisaData.Builder> cisaData)An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.Vulnerability.BuildercisaData(CisaData cisaData)An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.default Vulnerability.Buildercvss2(Consumer<Cvss2.Builder> cvss2)An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.Vulnerability.Buildercvss2(Cvss2 cvss2)An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.default Vulnerability.Buildercvss3(Consumer<Cvss3.Builder> cvss3)An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.Vulnerability.Buildercvss3(Cvss3 cvss3)An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.Vulnerability.Buildercwes(String... cwes)The Common Weakness Enumeration (CWE) associated with the vulnerability.Vulnerability.Buildercwes(Collection<String> cwes)The Common Weakness Enumeration (CWE) associated with the vulnerability.Vulnerability.Builderdescription(String description)A description of the vulnerability.Vulnerability.BuilderdetectionPlatforms(String... detectionPlatforms)Platforms that the vulnerability can be detected on.Vulnerability.BuilderdetectionPlatforms(Collection<String> detectionPlatforms)Platforms that the vulnerability can be detected on.default Vulnerability.Builderepss(Consumer<Epss.Builder> epss)An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.Vulnerability.Builderepss(Epss epss)An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.default Vulnerability.BuilderexploitObserved(Consumer<ExploitObserved.Builder> exploitObserved)An object that contains details on when the exploit was observed.Vulnerability.BuilderexploitObserved(ExploitObserved exploitObserved)An object that contains details on when the exploit was observed.Vulnerability.Builderid(String id)The ID for the specific vulnerability.Vulnerability.BuilderreferenceUrls(String... referenceUrls)Links to various resources with more information on this vulnerability.Vulnerability.BuilderreferenceUrls(Collection<String> referenceUrls)Links to various resources with more information on this vulnerability.Vulnerability.BuilderrelatedVulnerabilities(String... relatedVulnerabilities)A list of related vulnerabilities.Vulnerability.BuilderrelatedVulnerabilities(Collection<String> relatedVulnerabilities)A list of related vulnerabilities.Vulnerability.Buildersource(String source)The source of the vulnerability information.Vulnerability.Buildersource(VulnerabilitySource source)The source of the vulnerability information.Vulnerability.BuildersourceUrl(String sourceUrl)A link to the official source material for this vulnerability.Vulnerability.BuildervendorCreatedAt(Instant vendorCreatedAt)The date and time when the vendor created this vulnerability.Vulnerability.BuildervendorSeverity(String vendorSeverity)The severity assigned by the vendor.Vulnerability.BuildervendorUpdatedAt(Instant vendorUpdatedAt)The date and time when the vendor last updated this vulnerability.-
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, sdkFields
-
-
-
-
Method Detail
-
atigData
Vulnerability.Builder atigData(AtigData atigData)
An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.
- Parameters:
atigData- An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atigData
default Vulnerability.Builder atigData(Consumer<AtigData.Builder> atigData)
An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.
This is a convenience method that creates an instance of theAtigData.Builderavoiding the need to create one manually viaAtigData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toatigData(AtigData).- Parameters:
atigData- a consumer that will call methods onAtigData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
atigData(AtigData)
-
cisaData
Vulnerability.Builder cisaData(CisaData cisaData)
An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.
- Parameters:
cisaData- An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cisaData
default Vulnerability.Builder cisaData(Consumer<CisaData.Builder> cisaData)
An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.
This is a convenience method that creates an instance of theCisaData.Builderavoiding the need to create one manually viaCisaData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocisaData(CisaData).- Parameters:
cisaData- a consumer that will call methods onCisaData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cisaData(CisaData)
-
cvss2
Vulnerability.Builder cvss2(Cvss2 cvss2)
An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.
- Parameters:
cvss2- An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cvss2
default Vulnerability.Builder cvss2(Consumer<Cvss2.Builder> cvss2)
An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.
This is a convenience method that creates an instance of theCvss2.Builderavoiding the need to create one manually viaCvss2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocvss2(Cvss2).- Parameters:
cvss2- a consumer that will call methods onCvss2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cvss2(Cvss2)
-
cvss3
Vulnerability.Builder cvss3(Cvss3 cvss3)
An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.
- Parameters:
cvss3- An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cvss3
default Vulnerability.Builder cvss3(Consumer<Cvss3.Builder> cvss3)
An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.
This is a convenience method that creates an instance of theCvss3.Builderavoiding the need to create one manually viaCvss3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocvss3(Cvss3).- Parameters:
cvss3- a consumer that will call methods onCvss3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cvss3(Cvss3)
-
cwes
Vulnerability.Builder cwes(Collection<String> cwes)
The Common Weakness Enumeration (CWE) associated with the vulnerability.
- Parameters:
cwes- The Common Weakness Enumeration (CWE) associated with the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cwes
Vulnerability.Builder cwes(String... cwes)
The Common Weakness Enumeration (CWE) associated with the vulnerability.
- Parameters:
cwes- The Common Weakness Enumeration (CWE) associated with the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Vulnerability.Builder description(String description)
A description of the vulnerability.
- Parameters:
description- A description of the vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectionPlatforms
Vulnerability.Builder detectionPlatforms(Collection<String> detectionPlatforms)
Platforms that the vulnerability can be detected on.
- Parameters:
detectionPlatforms- Platforms that the vulnerability can be detected on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectionPlatforms
Vulnerability.Builder detectionPlatforms(String... detectionPlatforms)
Platforms that the vulnerability can be detected on.
- Parameters:
detectionPlatforms- Platforms that the vulnerability can be detected on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
epss
Vulnerability.Builder epss(Epss epss)
An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.
- Parameters:
epss- An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
epss
default Vulnerability.Builder epss(Consumer<Epss.Builder> epss)
An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.
This is a convenience method that creates an instance of theEpss.Builderavoiding the need to create one manually viaEpss.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toepss(Epss).- Parameters:
epss- a consumer that will call methods onEpss.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
epss(Epss)
-
exploitObserved
Vulnerability.Builder exploitObserved(ExploitObserved exploitObserved)
An object that contains details on when the exploit was observed.
- Parameters:
exploitObserved- An object that contains details on when the exploit was observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitObserved
default Vulnerability.Builder exploitObserved(Consumer<ExploitObserved.Builder> exploitObserved)
An object that contains details on when the exploit was observed.
This is a convenience method that creates an instance of theExploitObserved.Builderavoiding the need to create one manually viaExploitObserved.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexploitObserved(ExploitObserved).- Parameters:
exploitObserved- a consumer that will call methods onExploitObserved.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
exploitObserved(ExploitObserved)
-
id
Vulnerability.Builder id(String id)
The ID for the specific vulnerability.
- Parameters:
id- The ID for the specific vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceUrls
Vulnerability.Builder referenceUrls(Collection<String> referenceUrls)
Links to various resources with more information on this vulnerability.
- Parameters:
referenceUrls- Links to various resources with more information on this vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceUrls
Vulnerability.Builder referenceUrls(String... referenceUrls)
Links to various resources with more information on this vulnerability.
- Parameters:
referenceUrls- Links to various resources with more information on this vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedVulnerabilities
Vulnerability.Builder relatedVulnerabilities(Collection<String> relatedVulnerabilities)
A list of related vulnerabilities.
- Parameters:
relatedVulnerabilities- A list of related vulnerabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedVulnerabilities
Vulnerability.Builder relatedVulnerabilities(String... relatedVulnerabilities)
A list of related vulnerabilities.
- Parameters:
relatedVulnerabilities- A list of related vulnerabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Vulnerability.Builder source(String source)
The source of the vulnerability information. Possible results are
RHEL,AMAZON_CVE,DEBIANorNVD.- Parameters:
source- The source of the vulnerability information. Possible results areRHEL,AMAZON_CVE,DEBIANorNVD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VulnerabilitySource,VulnerabilitySource
-
source
Vulnerability.Builder source(VulnerabilitySource source)
The source of the vulnerability information. Possible results are
RHEL,AMAZON_CVE,DEBIANorNVD.- Parameters:
source- The source of the vulnerability information. Possible results areRHEL,AMAZON_CVE,DEBIANorNVD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VulnerabilitySource,VulnerabilitySource
-
sourceUrl
Vulnerability.Builder sourceUrl(String sourceUrl)
A link to the official source material for this vulnerability.
- Parameters:
sourceUrl- A link to the official source material for this vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorCreatedAt
Vulnerability.Builder vendorCreatedAt(Instant vendorCreatedAt)
The date and time when the vendor created this vulnerability.
- Parameters:
vendorCreatedAt- The date and time when the vendor created this vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorSeverity
Vulnerability.Builder vendorSeverity(String vendorSeverity)
The severity assigned by the vendor.
- Parameters:
vendorSeverity- The severity assigned by the vendor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorUpdatedAt
Vulnerability.Builder vendorUpdatedAt(Instant vendorUpdatedAt)
The date and time when the vendor last updated this vulnerability.
- Parameters:
vendorUpdatedAt- The date and time when the vendor last updated this vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-