Interface StartContactStreamingRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<StartContactStreamingRequest.Builder,StartContactStreamingRequest>,SdkBuilder<StartContactStreamingRequest.Builder,StartContactStreamingRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartContactStreamingRequest
public static interface StartContactStreamingRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<StartContactStreamingRequest.Builder,StartContactStreamingRequest>
-
-
Method Summary
-
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 Detail
-
instanceId
StartContactStreamingRequest.Builder instanceId(String 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
StartContactStreamingRequest.Builder contactId(String 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.Builderavoiding the need to create one manually viaChatStreamingConfiguration.builder().When the
Consumercompletes,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:
chatStreamingConfiguration(ChatStreamingConfiguration)
-
clientToken
StartContactStreamingRequest.Builder clientToken(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.
- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartContactStreamingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-