JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codegurusecurity.model

Class Vulnerability

    • Constructor Detail

      • Vulnerability

        public Vulnerability()
    • Method Detail

      • setFilePath

        public void setFilePath(FilePath filePath)

        An 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.
      • getFilePath

        public FilePath getFilePath()

        An object that describes the location of the detected security vulnerability in your code.

        Returns:
        An object that describes the location of the detected security vulnerability in your code.
      • withFilePath

        public Vulnerability withFilePath(FilePath filePath)

        An 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.
      • setId

        public void setId(String id)

        The identifier for the vulnerability.

        Parameters:
        id - The identifier for the vulnerability.
      • getId

        public String getId()

        The identifier for the vulnerability.

        Returns:
        The identifier for the vulnerability.
      • withId

        public Vulnerability withId(String id)

        The 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.
      • setItemCount

        @Deprecated
        public void setItemCount(Integer itemCount)
        Deprecated.

        The number of times the vulnerability appears in your code.

        Parameters:
        itemCount - The number of times the vulnerability appears in your code.
      • getItemCount

        @Deprecated
        public Integer getItemCount()
        Deprecated.

        The number of times the vulnerability appears in your code.

        Returns:
        The number of times the vulnerability appears in your code.
      • withItemCount

        @Deprecated
        public Vulnerability withItemCount(Integer itemCount)
        Deprecated.

        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.
      • getReferenceUrls

        public List<String> getReferenceUrls()

        One or more URL addresses that contain details about a vulnerability.

        Returns:
        One or more URL addresses that contain details about a vulnerability.
      • setReferenceUrls

        public void setReferenceUrls(Collection<String> referenceUrls)

        One or more URL addresses that contain details about a vulnerability.

        Parameters:
        referenceUrls - One or more URL addresses that contain details about a vulnerability.
      • withReferenceUrls

        public Vulnerability withReferenceUrls(String... referenceUrls)

        One or more URL addresses that contain details about a vulnerability.

        NOTE: This method appends the values to the existing list (if any). Use setReferenceUrls(java.util.Collection) or withReferenceUrls(java.util.Collection) if you want to override the existing values.

        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.
      • withReferenceUrls

        public Vulnerability withReferenceUrls(Collection<String> referenceUrls)

        One 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.
      • getRelatedVulnerabilities

        public List<String> getRelatedVulnerabilities()

        One or more vulnerabilities that are related to the vulnerability being described.

        Returns:
        One or more vulnerabilities that are related to the vulnerability being described.
      • setRelatedVulnerabilities

        public void setRelatedVulnerabilities(Collection<String> relatedVulnerabilities)

        One or more vulnerabilities that are related to the vulnerability being described.

        Parameters:
        relatedVulnerabilities - One or more vulnerabilities that are related to the vulnerability being described.
      • withRelatedVulnerabilities

        public Vulnerability withRelatedVulnerabilities(String... relatedVulnerabilities)

        One or more vulnerabilities that are related to the vulnerability being described.

        NOTE: This method appends the values to the existing list (if any). Use setRelatedVulnerabilities(java.util.Collection) or withRelatedVulnerabilities(java.util.Collection) if you want to override the existing values.

        Parameters:
        relatedVulnerabilities - One or more vulnerabilities that are related to the vulnerability being described.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRelatedVulnerabilities

        public Vulnerability withRelatedVulnerabilities(Collection<String> relatedVulnerabilities)

        One or more vulnerabilities that are related to the vulnerability being described.

        Parameters:
        relatedVulnerabilities - One or more vulnerabilities that are related to the vulnerability being described.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /