public static interface CommentMetadata.Builder extends CopyableBuilder<CommentMetadata.Builder,CommentMetadata>
| Modifier and Type | Method and Description |
|---|---|
CommentMetadata.Builder |
commentId(String commentId)
The ID of the comment.
|
CommentMetadata.Builder |
commentStatus(CommentStatusType commentStatus)
The status of the comment.
|
CommentMetadata.Builder |
commentStatus(String commentStatus)
The status of the comment.
|
default CommentMetadata.Builder |
contributor(Consumer<User.Builder> contributor)
The user who made the comment.
|
CommentMetadata.Builder |
contributor(User contributor)
The user who made the comment.
|
CommentMetadata.Builder |
createdTimestamp(Instant createdTimestamp)
The timestamp that the comment was created.
|
CommentMetadata.Builder |
recipientId(String recipientId)
The ID of the user being replied to.
|
copyapply, buildCommentMetadata.Builder commentId(String commentId)
The ID of the comment.
commentId - The ID of the comment.CommentMetadata.Builder contributor(User contributor)
The user who made the comment.
contributor - The user who made the comment.default CommentMetadata.Builder contributor(Consumer<User.Builder> contributor)
The user who made the comment.
This is a convenience that creates an instance of theUser.Builder avoiding the need to create one
manually via User.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to contributor(User).contributor - a consumer that will call methods on User.Buildercontributor(User)CommentMetadata.Builder createdTimestamp(Instant createdTimestamp)
The timestamp that the comment was created.
createdTimestamp - The timestamp that the comment was created.CommentMetadata.Builder commentStatus(String commentStatus)
The status of the comment.
commentStatus - The status of the comment.CommentStatusType,
CommentStatusTypeCommentMetadata.Builder commentStatus(CommentStatusType commentStatus)
The status of the comment.
commentStatus - The status of the comment.CommentStatusType,
CommentStatusTypeCommentMetadata.Builder recipientId(String recipientId)
The ID of the user being replied to.
recipientId - The ID of the user being replied to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.