@Generated(value="software.amazon.awssdk:codegen") public final class SendEventRequest extends ConnectParticipantRequest implements ToCopyableBuilder<SendEventRequest.Builder,SendEventRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SendEventRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SendEventRequest.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 participant's connection.
|
String |
content()
The content of the event to be sent (for example, message text).
|
String |
contentType()
The content type of the request.
|
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 SendEventRequest.Builder> |
serializableBuilderClass() |
SendEventRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contentType()
The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
application/vnd.amazonaws.connect.event.message.delivered
application/vnd.amazonaws.connect.event.message.read
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
application/vnd.amazonaws.connect.event.message.delivered
application/vnd.amazonaws.connect.event.message.read
public final String content()
The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.
Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"
Sample Content: "{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"}"
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 participant's connection.
public SendEventRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SendEventRequest.Builder,SendEventRequest>toBuilder in class ConnectParticipantRequestpublic static SendEventRequest.Builder builder()
public static Class<? extends SendEventRequest.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.