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 Summary
Modifier and TypeMethodDescriptionThe identity of the principal who added the comment.The unique identifier of the comment.The free-text content of the comment.The control identifier.The timestamp when the comment was created.environment(String environment) The name of the governance environment the comment belongs to.The name of the compliance framework.frameworkVersion(String frameworkVersion) The version of the compliance framework.The name of the project.The identifier of the task.The timestamp when the comment was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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
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
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.
-