public static interface StartChatContactRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<StartChatContactRequest.Builder,StartChatContactRequest>
| Modifier and Type | Method and Description |
|---|---|
StartChatContactRequest.Builder |
attributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
StartChatContactRequest.Builder |
clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
StartChatContactRequest.Builder |
contactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the chat.
|
StartChatContactRequest.Builder |
initialMessage(ChatMessage initialMessage)
The initial message to be sent to the newly created chat.
|
default StartChatContactRequest.Builder |
initialMessage(Consumer<ChatMessage.Builder> initialMessage)
The initial message to be sent to the newly created chat.
|
StartChatContactRequest.Builder |
instanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
StartChatContactRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartChatContactRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default StartChatContactRequest.Builder |
participantDetails(Consumer<ParticipantDetails.Builder> participantDetails)
Information identifying the participant.
|
StartChatContactRequest.Builder |
participantDetails(ParticipantDetails participantDetails)
Information identifying the participant.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartChatContactRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance.
instanceId - The identifier of the Amazon Connect instance.StartChatContactRequest.Builder contactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the chat. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
contactFlowId - The identifier of the contact flow for initiating the chat. To see the ContactFlowId in the Amazon
Connect console user interface, on the navigation menu go to Routing, Contact Flows.
Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show
additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
StartChatContactRequest.Builder attributes(Map<String,String> attributes)
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
attributes - A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes.
They can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
StartChatContactRequest.Builder participantDetails(ParticipantDetails participantDetails)
Information identifying the participant.
participantDetails - Information identifying the participant.default StartChatContactRequest.Builder participantDetails(Consumer<ParticipantDetails.Builder> participantDetails)
Information identifying the participant.
This is a convenience that creates an instance of theParticipantDetails.Builder avoiding the need to
create one manually via ParticipantDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to participantDetails(ParticipantDetails).participantDetails - a consumer that will call methods on ParticipantDetails.BuilderparticipantDetails(ParticipantDetails)StartChatContactRequest.Builder initialMessage(ChatMessage initialMessage)
The initial message to be sent to the newly created chat.
initialMessage - The initial message to be sent to the newly created chat.default StartChatContactRequest.Builder initialMessage(Consumer<ChatMessage.Builder> initialMessage)
The initial message to be sent to the newly created chat.
This is a convenience that creates an instance of theChatMessage.Builder avoiding the need to create
one manually via ChatMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to initialMessage(ChatMessage).initialMessage - a consumer that will call methods on ChatMessage.BuilderinitialMessage(ChatMessage)StartChatContactRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.StartChatContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartChatContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.