@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CommentMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes the metadata of a comment.
Constructor and Description |
---|
CommentMetadata() |
Modifier and Type | Method and Description |
---|---|
CommentMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getCommentId()
The ID of the comment.
|
String |
getCommentStatus()
The status of the comment.
|
User |
getContributor()
The user who made the comment.
|
Date |
getCreatedTimestamp()
The timestamp that the comment was created.
|
String |
getRecipientId()
The ID of the user being replied to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommentId(String commentId)
The ID of the comment.
|
void |
setCommentStatus(CommentStatusType commentStatus)
The status of the comment.
|
void |
setCommentStatus(String commentStatus)
The status of the comment.
|
void |
setContributor(User contributor)
The user who made the comment.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp that the comment was created.
|
void |
setRecipientId(String recipientId)
The ID of the user being replied to.
|
String |
toString()
Returns a string representation of this object.
|
CommentMetadata |
withCommentId(String commentId)
The ID of the comment.
|
CommentMetadata |
withCommentStatus(CommentStatusType commentStatus)
The status of the comment.
|
CommentMetadata |
withCommentStatus(String commentStatus)
The status of the comment.
|
CommentMetadata |
withContributor(User contributor)
The user who made the comment.
|
CommentMetadata |
withCreatedTimestamp(Date createdTimestamp)
The timestamp that the comment was created.
|
CommentMetadata |
withRecipientId(String recipientId)
The ID of the user being replied to.
|
public void setCommentId(String commentId)
The ID of the comment.
commentId
- The ID of the comment.public String getCommentId()
The ID of the comment.
public CommentMetadata withCommentId(String commentId)
The ID of the comment.
commentId
- The ID of the comment.public void setContributor(User contributor)
The user who made the comment.
contributor
- The user who made the comment.public User getContributor()
The user who made the comment.
public CommentMetadata withContributor(User contributor)
The user who made the comment.
contributor
- The user who made the comment.public void setCreatedTimestamp(Date createdTimestamp)
The timestamp that the comment was created.
createdTimestamp
- The timestamp that the comment was created.public Date getCreatedTimestamp()
The timestamp that the comment was created.
public CommentMetadata withCreatedTimestamp(Date createdTimestamp)
The timestamp that the comment was created.
createdTimestamp
- The timestamp that the comment was created.public void setCommentStatus(String commentStatus)
The status of the comment.
commentStatus
- The status of the comment.CommentStatusType
public String getCommentStatus()
The status of the comment.
CommentStatusType
public CommentMetadata withCommentStatus(String commentStatus)
The status of the comment.
commentStatus
- The status of the comment.CommentStatusType
public void setCommentStatus(CommentStatusType commentStatus)
The status of the comment.
commentStatus
- The status of the comment.CommentStatusType
public CommentMetadata withCommentStatus(CommentStatusType commentStatus)
The status of the comment.
commentStatus
- The status of the comment.CommentStatusType
public void setRecipientId(String recipientId)
The ID of the user being replied to.
recipientId
- The ID of the user being replied to.public String getRecipientId()
The ID of the user being replied to.
public CommentMetadata withRecipientId(String recipientId)
The ID of the user being replied to.
recipientId
- The ID of the user being replied to.public String toString()
toString
in class Object
Object.toString()
public CommentMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.