Interface Comment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Comment.Builder,Comment>, SdkBuilder<Comment.Builder,Comment>, SdkPojo
Enclosing class:
Comment

@Mutable @NotThreadSafe public static interface Comment.Builder extends SdkPojo, CopyableBuilder<Comment.Builder,Comment>
  • Method Details

    • environment

      Comment.Builder environment(String environment)

      The name of the governance environment the comment belongs to.

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

      Comment.Builder project(String 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

      Comment.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

      Comment.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

      Comment.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.
    • taskId

      Comment.Builder taskId(String taskId)

      The identifier of the task.

      Parameters:
      taskId - The identifier of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commentId

      Comment.Builder commentId(String commentId)

      The unique identifier of the comment.

      Parameters:
      commentId - The unique identifier of the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      Comment.Builder content(String content)

      The free-text content of the comment.

      Parameters:
      content - The free-text content of the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addedBy

      Comment.Builder addedBy(String addedBy)

      The identity of the principal who added the comment.

      Parameters:
      addedBy - The identity of the principal who added the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Comment.Builder createdAt(Instant createdAt)

      The timestamp when the comment was created.

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

      Comment.Builder updatedAt(Instant updatedAt)

      The timestamp when the comment was last updated.

      Parameters:
      updatedAt - The timestamp when the comment was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.