@Generated(value="software.amazon.awssdk:codegen") public final class CommentMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommentMetadata.Builder,CommentMetadata>
Describes the metadata of a comment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CommentMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CommentMetadata.Builder |
builder() |
String |
commentId()
The ID of the comment.
|
CommentStatusType |
commentStatus()
The status of the comment.
|
String |
commentStatusAsString()
The status of the comment.
|
User |
contributor()
The user who made the comment.
|
String |
contributorId()
The ID of the user who made the comment.
|
Instant |
createdTimestamp()
The timestamp that the comment was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
recipientId()
The ID of the user being replied to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CommentMetadata.Builder> |
serializableBuilderClass() |
CommentMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String commentId()
The ID of the comment.
public final User contributor()
The user who made the comment.
public final Instant createdTimestamp()
The timestamp that the comment was created.
public final CommentStatusType commentStatus()
The status of the comment.
If the service returns an enum value that is not available in the current SDK version, commentStatus
will return CommentStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from commentStatusAsString().
CommentStatusTypepublic final String commentStatusAsString()
The status of the comment.
If the service returns an enum value that is not available in the current SDK version, commentStatus
will return CommentStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from commentStatusAsString().
CommentStatusTypepublic final String recipientId()
The ID of the user being replied to.
public final String contributorId()
The ID of the user who made the comment.
public CommentMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CommentMetadata.Builder,CommentMetadata>public static CommentMetadata.Builder builder()
public static Class<? extends CommentMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.