Interface CodeSnippetError.Builder

    • Method Detail

      • errorCode

        CodeSnippetError.Builder errorCode​(String errorCode)

        The error code for the error that prevented a code snippet from being retrieved.

        Parameters:
        errorCode - The error code for the error that prevented a code snippet from being retrieved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CodeSnippetErrorCode, CodeSnippetErrorCode
      • errorMessage

        CodeSnippetError.Builder errorMessage​(String errorMessage)

        The error message received when Amazon Inspector failed to retrieve a code snippet.

        Parameters:
        errorMessage - The error message received when Amazon Inspector failed to retrieve a code snippet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingArn

        CodeSnippetError.Builder findingArn​(String findingArn)

        The ARN of the finding that a code snippet couldn't be retrieved for.

        Parameters:
        findingArn - The ARN of the finding that a code snippet couldn't be retrieved for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.