Interface StartContactRecordingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<StartContactRecordingRequest.Builder,,StartContactRecordingRequest> SdkBuilder<StartContactRecordingRequest.Builder,,StartContactRecordingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartContactRecordingRequest
public static interface StartContactRecordingRequest.Builder
extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<StartContactRecordingRequest.Builder,StartContactRecordingRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the contact.initialContactId(String initialContactId) 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.voiceRecordingConfiguration(Consumer<VoiceRecordingConfiguration.Builder> voiceRecordingConfiguration) The person being recorded.voiceRecordingConfiguration(VoiceRecordingConfiguration voiceRecordingConfiguration) The person being recorded.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.
- Parameters:
contactId- The identifier of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialContactId
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
- Parameters:
initialContactId- 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.
-
voiceRecordingConfiguration
StartContactRecordingRequest.Builder voiceRecordingConfiguration(VoiceRecordingConfiguration voiceRecordingConfiguration) The person being recorded.
- Parameters:
voiceRecordingConfiguration- The person being recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceRecordingConfiguration
default StartContactRecordingRequest.Builder voiceRecordingConfiguration(Consumer<VoiceRecordingConfiguration.Builder> voiceRecordingConfiguration) The person being recorded.
This is a convenience method that creates an instance of theVoiceRecordingConfiguration.Builderavoiding the need to create one manually viaVoiceRecordingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoiceRecordingConfiguration(VoiceRecordingConfiguration).- Parameters:
voiceRecordingConfiguration- a consumer that will call methods onVoiceRecordingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartContactRecordingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartContactRecordingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-