Interface Vulnerability.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Vulnerability.Builder,
,Vulnerability> SdkBuilder<Vulnerability.Builder,
,Vulnerability> SdkPojo
- Enclosing class:
Vulnerability
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.default Vulnerability.Builder
cisaData
(Consumer<CisaData.Builder> cisaData) An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.default Vulnerability.Builder
cvss2
(Consumer<Cvss2.Builder> cvss2) An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.default Vulnerability.Builder
cvss3
(Consumer<Cvss3.Builder> cvss3) An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.The Common Weakness Enumeration (CWE) associated with the vulnerability.cwes
(Collection<String> cwes) The Common Weakness Enumeration (CWE) associated with the vulnerability.description
(String description) A description of the vulnerability.detectionPlatforms
(String... detectionPlatforms) Platforms that the vulnerability can be detected on.detectionPlatforms
(Collection<String> detectionPlatforms) Platforms that the vulnerability can be detected on.default Vulnerability.Builder
epss
(Consumer<Epss.Builder> epss) An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.default Vulnerability.Builder
exploitObserved
(Consumer<ExploitObserved.Builder> exploitObserved) An object that contains details on when the exploit was observed.exploitObserved
(ExploitObserved exploitObserved) An object that contains details on when the exploit was observed.The ID for the specific vulnerability.referenceUrls
(String... referenceUrls) Links to various resources with more information on this vulnerability.referenceUrls
(Collection<String> referenceUrls) Links to various resources with more information on this vulnerability.relatedVulnerabilities
(String... relatedVulnerabilities) A list of related vulnerabilities.relatedVulnerabilities
(Collection<String> relatedVulnerabilities) A list of related vulnerabilities.The source of the vulnerability information.source
(VulnerabilitySource source) The source of the vulnerability information.A link to the official source material for this vulnerability.vendorCreatedAt
(Instant vendorCreatedAt) The date and time when the vendor created this vulnerability.vendorSeverity
(String vendorSeverity) The severity assigned by the vendor.vendorUpdatedAt
(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 Details
-
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
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.Builder
avoiding the need to create one manually viaAtigData.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaCisaData.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaCvss2.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaCvss3.builder()
.When the
Consumer
completes,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:
-
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
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
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
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
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
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
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.Builder
avoiding the need to create one manually viaEpss.builder()
.When the
Consumer
completes,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:
-
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
An object that contains details on when the exploit was observed.
This is a convenience method that creates an instance of theExploitObserved.Builder
avoiding the need to create one manually viaExploitObserved.builder()
.When the
Consumer
completes,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:
-
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
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
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.
-
source
The source of the vulnerability information. Possible results are
RHEL
,AMAZON_CVE
,DEBIAN
orNVD
.- Parameters:
source
- The source of the vulnerability information. Possible results areRHEL
,AMAZON_CVE
,DEBIAN
orNVD
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The source of the vulnerability information. Possible results are
RHEL
,AMAZON_CVE
,DEBIAN
orNVD
.- Parameters:
source
- The source of the vulnerability information. Possible results areRHEL
,AMAZON_CVE
,DEBIAN
orNVD
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.
-