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 SuggestedFix

    • Constructor Detail

      • SuggestedFix

        public SuggestedFix()
    • Method Detail

      • setCode

        public void setCode(String code)

        The suggested code fix. If applicable, includes code patch to replace your source code.

        Parameters:
        code - The suggested code fix. If applicable, includes code patch to replace your source code.
      • getCode

        public String getCode()

        The suggested code fix. If applicable, includes code patch to replace your source code.

        Returns:
        The suggested code fix. If applicable, includes code patch to replace your source code.
      • withCode

        public SuggestedFix withCode(String code)

        The suggested code fix. If applicable, includes code patch to replace your source code.

        Parameters:
        code - The suggested code fix. If applicable, includes code patch to replace your source code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription(String description)

        A description of the suggested code fix and why it is being suggested.

        Parameters:
        description - A description of the suggested code fix and why it is being suggested.
      • getDescription

        public String getDescription()

        A description of the suggested code fix and why it is being suggested.

        Returns:
        A description of the suggested code fix and why it is being suggested.
      • withDescription

        public SuggestedFix withDescription(String description)

        A description of the suggested code fix and why it is being suggested.

        Parameters:
        description - A description of the suggested code fix and why it is being suggested.
        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 によって変換されたページ (->オリジナル) /