@Generated(value="software.amazon.awssdk:codegen") public final class ControlComment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ControlComment.Builder,ControlComment>
A comment posted by a user on a control. This includes the author's name, the comment text, and a timestamp.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ControlComment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
authorName()
The name of the user who authored the comment.
|
static ControlComment.Builder |
builder() |
String |
commentBody()
The body text of a control comment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
postedDate()
The time when the comment was posted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ControlComment.Builder> |
serializableBuilderClass() |
ControlComment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String authorName()
The name of the user who authored the comment.
public final String commentBody()
The body text of a control comment.
public final Instant postedDate()
The time when the comment was posted.
public ControlComment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ControlComment.Builder,ControlComment>public static ControlComment.Builder builder()
public static Class<? extends ControlComment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.