@Generated(value="software.amazon.awssdk:codegen") public final class Comment extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Comment.Builder> |
serializableBuilderClass() |
Comment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 returns information about the initial request that used that token.
public Comment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Comment.Builder,Comment>public static Comment.Builder builder()
public static Class<? extends Comment.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.