Interface Vulnerability.Builder

    • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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, 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:
        VulnerabilitySource, VulnerabilitySource
      • source

        Vulnerability.Builder source​(VulnerabilitySource 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:
        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.