Interface GetEvidenceContentResponse.Builder

  • Method Details

    • content

      The evidence file content.

      Parameters:
      content - The evidence file content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      GetEvidenceContentResponse.Builder contentType(String contentType)

      The MIME type of the content.

      Parameters:
      contentType - The MIME type of the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      The title of the evidence.

      Parameters:
      title - The title of the evidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksum

      The checksum of the evidence content. Uploaded and Amazon S3 evidence use SHA-256. GitHub evidence uses SHA-1, because GitHub reports content hashes only in SHA-1.

      Parameters:
      checksum - The checksum of the evidence content. Uploaded and Amazon S3 evidence use SHA-256. GitHub evidence uses SHA-1, because GitHub reports content hashes only in SHA-1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version number of the evidence that the content belongs to.

      Parameters:
      version - The version number of the evidence that the content belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.