Interface StartContactStreamingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<StartContactStreamingRequest.Builder,
,StartContactStreamingRequest> SdkBuilder<StartContactStreamingRequest.Builder,
,StartContactStreamingRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartContactStreamingRequest
-
Method Summary
Modifier and TypeMethodDescriptionchatStreamingConfiguration
(Consumer<ChatStreamingConfiguration.Builder> chatStreamingConfiguration) The streaming configuration, such as the Amazon SNS streaming endpoint.chatStreamingConfiguration
(ChatStreamingConfiguration chatStreamingConfiguration) The streaming configuration, such as the Amazon SNS streaming endpoint.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The identifier of the contact.instanceId
(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactId
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
- Parameters:
contactId
- The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatStreamingConfiguration
StartContactStreamingRequest.Builder chatStreamingConfiguration(ChatStreamingConfiguration chatStreamingConfiguration) The streaming configuration, such as the Amazon SNS streaming endpoint.
- Parameters:
chatStreamingConfiguration
- The streaming configuration, such as the Amazon SNS streaming endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatStreamingConfiguration
default StartContactStreamingRequest.Builder chatStreamingConfiguration(Consumer<ChatStreamingConfiguration.Builder> chatStreamingConfiguration) The streaming configuration, such as the Amazon SNS streaming endpoint.
This is a convenience method that creates an instance of theChatStreamingConfiguration.Builder
avoiding the need to create one manually viaChatStreamingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochatStreamingConfiguration(ChatStreamingConfiguration)
.- Parameters:
chatStreamingConfiguration
- a consumer that will call methods onChatStreamingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartContactStreamingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartContactStreamingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-