Class SendChatIntegrationEventRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.connect.model.ConnectRequest
-
- software.amazon.awssdk.services.connect.model.SendChatIntegrationEventRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SendChatIntegrationEventRequest.Builder,SendChatIntegrationEventRequest>
@Generated("software.amazon.awssdk:codegen") public final class SendChatIntegrationEventRequest extends ConnectRequest implements ToCopyableBuilder<SendChatIntegrationEventRequest.Builder,SendChatIntegrationEventRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSendChatIntegrationEventRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SendChatIntegrationEventRequest.Builderbuilder()StringdestinationId()Chat system identifier, used in part to uniquely identify chat.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ChatEventevent()Chat integration event payload<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NewSessionDetailsnewSessionDetails()Contact properties to apply when starting a new chat.List<SdkField<?>>sdkFields()static Class<? extends SendChatIntegrationEventRequest.Builder>serializableBuilderClass()StringsourceId()External identifier of chat customer participant, used in part to uniquely identify a chat.Stringsubtype()Classification of a channel.SendChatIntegrationEventRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourceId
public final String sourceId()
External identifier of chat customer participant, used in part to uniquely identify a chat. For SMS, this is the E164 phone number of the chat customer participant.
- Returns:
- External identifier of chat customer participant, used in part to uniquely identify a chat. For SMS, this is the E164 phone number of the chat customer participant.
-
destinationId
public final String destinationId()
Chat system identifier, used in part to uniquely identify chat. This is associated with the Amazon Connect instance and flow to be used to start chats. For SMS, this is the phone number destination of inbound SMS messages represented by an Amazon Pinpoint phone number ARN.
- Returns:
- Chat system identifier, used in part to uniquely identify chat. This is associated with the Amazon Connect instance and flow to be used to start chats. For SMS, this is the phone number destination of inbound SMS messages represented by an Amazon Pinpoint phone number ARN.
-
subtype
public final String subtype()
Classification of a channel. This is used in part to uniquely identify chat.
Valid value:
["connect:sms"]- Returns:
- Classification of a channel. This is used in part to uniquely identify chat.
Valid value:
["connect:sms"]
-
event
public final ChatEvent event()
Chat integration event payload
- Returns:
- Chat integration event payload
-
newSessionDetails
public final NewSessionDetails newSessionDetails()
Contact properties to apply when starting a new chat. If the integration event is handled with an existing chat, this is ignored.
- Returns:
- Contact properties to apply when starting a new chat. If the integration event is handled with an existing chat, this is ignored.
-
toBuilder
public SendChatIntegrationEventRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SendChatIntegrationEventRequest.Builder,SendChatIntegrationEventRequest>- Specified by:
toBuilderin classConnectRequest
-
builder
public static SendChatIntegrationEventRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SendChatIntegrationEventRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-