@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() |
User |
getContributor()
The user who made the comment.
|
Date |
getCreatedTimestamp() |
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) |
void |
setCommentStatus(String commentStatus) |
void |
setContributor(User contributor)
The user who made the comment.
|
void |
setCreatedTimestamp(Date createdTimestamp) |
void |
setRecipientId(String recipientId)
The ID of the user being replied to.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CommentMetadata |
withCommentId(String commentId)
The ID of the comment.
|
CommentMetadata |
withCommentStatus(CommentStatusType commentStatus) |
CommentMetadata |
withCommentStatus(String commentStatus) |
CommentMetadata |
withContributor(User contributor)
The user who made the comment.
|
CommentMetadata |
withCreatedTimestamp(Date createdTimestamp) |
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)
createdTimestamp - public Date getCreatedTimestamp()
public CommentMetadata withCreatedTimestamp(Date createdTimestamp)
createdTimestamp - public void setCommentStatus(String commentStatus)
commentStatus - CommentStatusTypepublic String getCommentStatus()
CommentStatusTypepublic CommentMetadata withCommentStatus(String commentStatus)
commentStatus - CommentStatusTypepublic void setCommentStatus(CommentStatusType commentStatus)
commentStatus - CommentStatusTypepublic CommentMetadata withCommentStatus(CommentStatusType commentStatus)
commentStatus - CommentStatusTypepublic 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 ObjectObject.toString()public CommentMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.