@Generated(value="software.amazon.awssdk:codegen") public class Comment extends Object implements StructuredPojo, ToCopyableBuilder<Comment.Builder,Comment>
Returns information about a specific comment.
Modifier and Type | Class and Description |
---|---|
static interface |
Comment.Builder |
Modifier and Type | Method and Description |
---|---|
String |
authorArn()
The Amazon Resource Name (ARN) of the person who posted the comment.
|
static Comment.Builder |
builder() |
String |
clientRequestToken()
A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
String |
commentId()
The system-generated comment ID.
|
String |
content()
The content of the comment.
|
Instant |
creationDate()
The date and time the comment was created, in timestamp format.
|
Boolean |
deleted()
A Boolean value indicating whether the comment has been deleted.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
inReplyTo()
The ID of the comment for which this comment is a reply, if any.
|
Instant |
lastModifiedDate()
The date and time the comment was most recently modified, in timestamp format.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Comment.Builder> |
serializableBuilderClass() |
Comment.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String commentId()
The system-generated comment ID.
public String content()
The content of the comment.
public String inReplyTo()
The ID of the comment for which this comment is a reply, if any.
public Instant creationDate()
The date and time the comment was created, in timestamp format.
public Instant lastModifiedDate()
The date and time the comment was most recently modified, in timestamp format.
public String authorArn()
The Amazon Resource Name (ARN) of the person who posted the comment.
public Boolean deleted()
A Boolean value indicating whether the comment has been deleted.
public 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 will return information about the initial request that used that token.
public Comment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Comment.Builder,Comment>
public static Comment.Builder builder()
public static Class<? extends Comment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.