@Generated(value="software.amazon.awssdk:codegen") public final class CommentContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommentContent.Builder,CommentContent>
Represents the content of a Comment to be returned to agents.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CommentContent.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
body()
Text in the body of a
Comment on a case. |
static CommentContent.Builder |
builder() |
CommentBodyTextType |
contentType()
Type of the text in the box of a
Comment on a case. |
String |
contentTypeAsString()
Type of the text in the box of a
Comment on a case. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CommentContent.Builder> |
serializableBuilderClass() |
CommentContent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String body()
Text in the body of a Comment on a case.
Comment on a case.public final CommentBodyTextType contentType()
Type of the text in the box of a Comment on a case.
If the service returns an enum value that is not available in the current SDK version, contentType will
return CommentBodyTextType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from contentTypeAsString().
Comment on a case.CommentBodyTextTypepublic final String contentTypeAsString()
Type of the text in the box of a Comment on a case.
If the service returns an enum value that is not available in the current SDK version, contentType will
return CommentBodyTextType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from contentTypeAsString().
Comment on a case.CommentBodyTextTypepublic CommentContent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CommentContent.Builder,CommentContent>public static CommentContent.Builder builder()
public static Class<? extends CommentContent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.