@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.
public final String content()
The content of the message.
public final String clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
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 © 2021. All rights reserved.