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 Details

    • 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 the AtigData.Builder avoiding the need to create one manually via AtigData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to atigData(AtigData).

      Parameters:
      atigData - a consumer that will call methods on AtigData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the CisaData.Builder avoiding the need to create one manually via CisaData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cisaData(CisaData).

      Parameters:
      cisaData - a consumer that will call methods on CisaData.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 the Cvss2.Builder avoiding the need to create one manually via Cvss2.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cvss2(Cvss2).

      Parameters:
      cvss2 - a consumer that will call methods on Cvss2.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 the Cvss3.Builder avoiding the need to create one manually via Cvss3.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cvss3(Cvss3).

      Parameters:
      cvss3 - a consumer that will call methods on Cvss3.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

      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

      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 the Epss.Builder avoiding the need to create one manually via Epss.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to epss(Epss).

      Parameters:
      epss - a consumer that will call methods on Epss.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ExploitObserved.Builder avoiding the need to create one manually via ExploitObserved.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to exploitObserved(ExploitObserved).

      Parameters:
      exploitObserved - a consumer that will call methods on ExploitObserved.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

      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, DEBIAN or NVD.

      Parameters:
      source - The source of the vulnerability information. Possible results are RHEL, AMAZON_CVE, DEBIAN or NVD.
      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 or NVD.

      Parameters:
      source - The source of the vulnerability information. Possible results are RHEL, AMAZON_CVE, DEBIAN or NVD.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.