Interface CodeRemediationTaskDetails.Builder

  • Method Details

    • repoName

      The name of an associated repository where the remediation was applied.

      Parameters:
      repoName - The name of an associated repository where the remediation was applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeDiffLink

      CodeRemediationTaskDetails.Builder codeDiffLink(String codeDiffLink)

      The link to the code diff for the remediation.

      Parameters:
      codeDiffLink - The link to the code diff for the remediation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pullRequestLink

      CodeRemediationTaskDetails.Builder pullRequestLink(String pullRequestLink)

      The link to the pull request created for the remediation.

      Parameters:
      pullRequestLink - The link to the pull request created for the remediation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the code remediation task for the particular repository.

      Parameters:
      status - The current status of the code remediation task for the particular repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the code remediation task for the particular repository.

      Parameters:
      status - The current status of the code remediation task for the particular repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusCode

      A category classifier if a repository's code remediation fails.

      Parameters:
      statusCode - A category classifier if a repository's code remediation fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReason

      CodeRemediationTaskDetails.Builder statusReason(String statusReason)

      A descriptive reason when a repository's code remediation fails.

      Parameters:
      statusReason - A descriptive reason when a repository's code remediation fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.