StructuredPojo, ToCopyableBuilder<Comment.Builder,Comment>@Generated("software.amazon.awssdk:codegen") public class Comment extends Object implements StructuredPojo, ToCopyableBuilder<Comment.Builder,Comment>
Describes a comment.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
Comment.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static Comment.Builder |
builder() |
|
String |
commentId() |
The ID of the comment.
|
User |
contributor() |
The details of the user who made the comment.
|
Date |
createdTimestamp() |
The time that the comment was created.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
parentId() |
The ID of the parent comment.
|
String |
recipientId() |
If the comment is a reply to another user's comment, this field contains the user ID of the user being replied
to.
|
static Class<? extends Comment.Builder> |
serializableBuilderClass() |
|
String |
status() |
The status of the comment.
|
String |
text() |
The text of the comment.
|
String |
threadId() |
The ID of the root comment in the thread.
|
Comment.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
visibility() |
The visibility of the comment.
|
public String commentId()
The ID of the comment.
public String parentId()
The ID of the parent comment.
public String threadId()
The ID of the root comment in the thread.
public String text()
The text of the comment.
public User contributor()
The details of the user who made the comment.
public Date createdTimestamp()
The time that the comment was created.
public String status()
The status of the comment.
CommentStatusTypepublic String visibility()
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
CommentVisibilityTypepublic String recipientId()
If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.
public Comment.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Comment.Builder,Comment>public static Comment.Builder builder()
public static Class<? extends Comment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.