@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
- CommentStatusType
public String getCommentStatus()
CommentStatusType
public CommentMetadata withCommentStatus(String commentStatus)
commentStatus
- CommentStatusType
public void setCommentStatus(CommentStatusType commentStatus)
commentStatus
- CommentStatusType
public CommentMetadata withCommentStatus(CommentStatusType commentStatus)
commentStatus
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.