Interface UpdateContactRoutingDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateContactRoutingDataRequest.Builder,,UpdateContactRoutingDataRequest> SdkBuilder<UpdateContactRoutingDataRequest.Builder,,UpdateContactRoutingDataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateContactRoutingDataRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the contact in this instance of Amazon Connect.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.queuePriority(Long queuePriority) Priority of the contact in the queue.queueTimeAdjustmentSeconds(Integer queueTimeAdjustmentSeconds) The number of seconds to add or subtract from the contact's routing age.routingCriteria(Consumer<RoutingCriteriaInput.Builder> routingCriteria) Updates the routing criteria on the contact.routingCriteria(RoutingCriteriaInput routingCriteria) Updates the routing criteria on the contact.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, 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 in this instance of Amazon Connect.
- Parameters:
contactId- The identifier of the contact in this instance of Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueTimeAdjustmentSeconds
UpdateContactRoutingDataRequest.Builder queueTimeAdjustmentSeconds(Integer queueTimeAdjustmentSeconds) The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.
- Parameters:
queueTimeAdjustmentSeconds- The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queuePriority
Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.
- Parameters:
queuePriority- Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingCriteria
Updates the routing criteria on the contact. These properties can be used to change how a contact is routed within the queue.
- Parameters:
routingCriteria- Updates the routing criteria on the contact. These properties can be used to change how a contact is routed within the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingCriteria
default UpdateContactRoutingDataRequest.Builder routingCriteria(Consumer<RoutingCriteriaInput.Builder> routingCriteria) Updates the routing criteria on the contact. These properties can be used to change how a contact is routed within the queue.
This is a convenience method that creates an instance of theRoutingCriteriaInput.Builderavoiding the need to create one manually viaRoutingCriteriaInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingCriteria(RoutingCriteriaInput).- Parameters:
routingCriteria- a consumer that will call methods onRoutingCriteriaInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateContactRoutingDataRequest.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
UpdateContactRoutingDataRequest.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.
-