Interface GetAnnotationResponse.Builder

  • Method Details

    • environmentArn

      GetAnnotationResponse.Builder environmentArn(String environmentArn)

      The ARN of this governance environment.

      Parameters:
      environmentArn - The ARN of this governance environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      The name of the project.

      Parameters:
      project - The name of the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framework

      GetAnnotationResponse.Builder framework(String framework)

      The name of the compliance framework.

      Parameters:
      framework - The name of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkVersion

      GetAnnotationResponse.Builder frameworkVersion(String frameworkVersion)

      The version of the compliance framework.

      Parameters:
      frameworkVersion - The version of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlId

      GetAnnotationResponse.Builder controlId(String controlId)

      The control identifier. Optional. If omitted, the operation applies to the full framework.

      Parameters:
      controlId - The control identifier. Optional. If omitted, the operation applies to the full framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentId

      GetAnnotationResponse.Builder assessmentId(String assessmentId)

      The identifier of the assessment.

      Parameters:
      assessmentId - The identifier of the assessment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evidenceId

      GetAnnotationResponse.Builder evidenceId(String evidenceId)

      The identifier of the evidence the annotation applies to.

      Parameters:
      evidenceId - The identifier of the evidence the annotation applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evidenceVersion

      GetAnnotationResponse.Builder evidenceVersion(Integer evidenceVersion)

      The version number of the evidence the annotation applies to.

      Parameters:
      evidenceVersion - The version number of the evidence the annotation applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notes

      The free-text reviewer note attached to the evidence.

      Parameters:
      notes - The free-text reviewer note attached to the evidence.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetAnnotationResponse.Builder createdAt(Instant createdAt)

      The timestamp when the annotation was created.

      Parameters:
      createdAt - The timestamp when the annotation was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.