Interface SendChatIntegrationEventResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, ConnectResponse.Builder, CopyableBuilder<SendChatIntegrationEventResponse.Builder,SendChatIntegrationEventResponse>, SdkBuilder<SendChatIntegrationEventResponse.Builder,SendChatIntegrationEventResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
SendChatIntegrationEventResponse

public static interface SendChatIntegrationEventResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SendChatIntegrationEventResponse.Builder,SendChatIntegrationEventResponse>
  • Method Details

    • initialContactId

      SendChatIntegrationEventResponse.Builder initialContactId(String initialContactId)

      Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.

      Parameters:
      initialContactId - Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • newChatCreated

      SendChatIntegrationEventResponse.Builder newChatCreated(Boolean newChatCreated)

      Whether handling the integration event resulted in creating a new chat or acting on existing chat.

      Parameters:
      newChatCreated - Whether handling the integration event resulted in creating a new chat or acting on existing chat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.