@Generated(value="software.amazon.awssdk:codegen") public final class SendMessageRequest extends ConnectParticipantRequest implements ToCopyableBuilder<SendMessageRequest.Builder,SendMessageRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SendMessageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SendMessageRequest.Builder |
builder() |
String |
clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
connectionToken()
The authentication token associated with the connection.
|
String |
content()
The content of the message.
|
String |
contentType()
The type of the content.
|
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 SendMessageRequest.Builder> |
serializableBuilderClass() |
SendMessageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contentType()
The type of the content. Supported types are text/plain, text/markdown,
application/json, and application/vnd.amazonaws.connect.message.interactive.response.
text/plain, text/markdown,
application/json, and
application/vnd.amazonaws.connect.message.interactive.response.public final String content()
The content of the message.
For text/plain and text/markdown, the Length Constraints are Minimum of 1, Maximum of
1024.
For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.
For application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are
Minimum of 1, Maximum of 12288.
For text/plain and text/markdown, the Length Constraints are Minimum of 1,
Maximum of 1024.
For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.
For application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints
are Minimum of 1, Maximum of 12288.
public final String clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public final String connectionToken()
The authentication token associated with the connection.
public SendMessageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SendMessageRequest.Builder,SendMessageRequest>toBuilder in class ConnectParticipantRequestpublic static SendMessageRequest.Builder builder()
public static Class<? extends SendMessageRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.