@Generated(value="software.amazon.awssdk:codegen") public final class CommentMetadata extends Object implements StructuredPojo, 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.
|
Instant |
createdTimestamp()
The timestamp that the comment was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
recipientId()
The ID of the user being replied to.
|
static Class<? extends CommentMetadata.Builder> |
serializableBuilderClass() |
CommentMetadata.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 ID of the comment.
public User contributor()
The user who made the comment.
public Instant createdTimestamp()
The timestamp that the comment was created.
public 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()
.
CommentStatusType
public 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()
.
CommentStatusType
public String recipientId()
The ID of the user being replied to.
public CommentMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CommentMetadata.Builder,CommentMetadata>
public static CommentMetadata.Builder builder()
public static Class<? extends CommentMetadata.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.