@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Comment extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a specific comment.
Constructor and Description |
---|
Comment() |
Modifier and Type | Method and Description |
---|---|
Comment |
clone() |
boolean |
equals(Object obj) |
String |
getAuthorArn()
The Amazon Resource Name (ARN) of the person who posted the comment.
|
String |
getClientRequestToken()
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
String |
getCommentId()
The system-generated comment ID.
|
String |
getContent()
The content of the comment.
|
Date |
getCreationDate()
The date and time the comment was created, in timestamp format.
|
Boolean |
getDeleted()
A Boolean value indicating whether the comment has been deleted.
|
String |
getInReplyTo()
The ID of the comment for which this comment is a reply, if any.
|
Date |
getLastModifiedDate()
The date and time the comment was most recently modified, in timestamp format.
|
int |
hashCode() |
Boolean |
isDeleted()
A Boolean value indicating whether the comment has been deleted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthorArn(String authorArn)
The Amazon Resource Name (ARN) of the person who posted the comment.
|
void |
setClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
void |
setCommentId(String commentId)
The system-generated comment ID.
|
void |
setContent(String content)
The content of the comment.
|
void |
setCreationDate(Date creationDate)
The date and time the comment was created, in timestamp format.
|
void |
setDeleted(Boolean deleted)
A Boolean value indicating whether the comment has been deleted.
|
void |
setInReplyTo(String inReplyTo)
The ID of the comment for which this comment is a reply, if any.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date and time the comment was most recently modified, in timestamp format.
|
String |
toString()
Returns a string representation of this object.
|
Comment |
withAuthorArn(String authorArn)
The Amazon Resource Name (ARN) of the person who posted the comment.
|
Comment |
withClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
Comment |
withCommentId(String commentId)
The system-generated comment ID.
|
Comment |
withContent(String content)
The content of the comment.
|
Comment |
withCreationDate(Date creationDate)
The date and time the comment was created, in timestamp format.
|
Comment |
withDeleted(Boolean deleted)
A Boolean value indicating whether the comment has been deleted.
|
Comment |
withInReplyTo(String inReplyTo)
The ID of the comment for which this comment is a reply, if any.
|
Comment |
withLastModifiedDate(Date lastModifiedDate)
The date and time the comment was most recently modified, in timestamp format.
|
public void setCommentId(String commentId)
The system-generated comment ID.
commentId
- The system-generated comment ID.public String getCommentId()
The system-generated comment ID.
public Comment withCommentId(String commentId)
The system-generated comment ID.
commentId
- The system-generated comment ID.public void setContent(String content)
The content of the comment.
content
- The content of the comment.public String getContent()
The content of the comment.
public Comment withContent(String content)
The content of the comment.
content
- The content of the comment.public void setInReplyTo(String inReplyTo)
The ID of the comment for which this comment is a reply, if any.
inReplyTo
- The ID of the comment for which this comment is a reply, if any.public String getInReplyTo()
The ID of the comment for which this comment is a reply, if any.
public Comment withInReplyTo(String inReplyTo)
The ID of the comment for which this comment is a reply, if any.
inReplyTo
- The ID of the comment for which this comment is a reply, if any.public void setCreationDate(Date creationDate)
The date and time the comment was created, in timestamp format.
creationDate
- The date and time the comment was created, in timestamp format.public Date getCreationDate()
The date and time the comment was created, in timestamp format.
public Comment withCreationDate(Date creationDate)
The date and time the comment was created, in timestamp format.
creationDate
- The date and time the comment was created, in timestamp format.public void setLastModifiedDate(Date lastModifiedDate)
The date and time the comment was most recently modified, in timestamp format.
lastModifiedDate
- The date and time the comment was most recently modified, in timestamp format.public Date getLastModifiedDate()
The date and time the comment was most recently modified, in timestamp format.
public Comment withLastModifiedDate(Date lastModifiedDate)
The date and time the comment was most recently modified, in timestamp format.
lastModifiedDate
- The date and time the comment was most recently modified, in timestamp format.public void setAuthorArn(String authorArn)
The Amazon Resource Name (ARN) of the person who posted the comment.
authorArn
- The Amazon Resource Name (ARN) of the person who posted the comment.public String getAuthorArn()
The Amazon Resource Name (ARN) of the person who posted the comment.
public Comment withAuthorArn(String authorArn)
The Amazon Resource Name (ARN) of the person who posted the comment.
authorArn
- The Amazon Resource Name (ARN) of the person who posted the comment.public void setDeleted(Boolean deleted)
A Boolean value indicating whether the comment has been deleted.
deleted
- A Boolean value indicating whether the comment has been deleted.public Boolean getDeleted()
A Boolean value indicating whether the comment has been deleted.
public Comment withDeleted(Boolean deleted)
A Boolean value indicating whether the comment has been deleted.
deleted
- A Boolean value indicating whether the comment has been deleted.public Boolean isDeleted()
A Boolean value indicating whether the comment has been deleted.
public void setClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
clientRequestToken
- A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot
be repeated with a changed parameter. If a request is received with the same parameters and a token is
included, the request returns information about the initial request that used that token.public String getClientRequestToken()
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
public Comment withClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
clientRequestToken
- A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot
be repeated with a changed parameter. If a request is received with the same parameters and a token is
included, the request returns information about the initial request that used that token.public String toString()
toString
in class Object
Object.toString()
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.