Interface QuickConnectConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QuickConnectConfig.Builder,QuickConnectConfig>,SdkBuilder<QuickConnectConfig.Builder,QuickConnectConfig>,SdkPojo
- Enclosing class:
- QuickConnectConfig
public static interface QuickConnectConfig.Builder extends SdkPojo, CopyableBuilder<QuickConnectConfig.Builder,QuickConnectConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default QuickConnectConfig.BuilderphoneConfig(Consumer<PhoneNumberQuickConnectConfig.Builder> phoneConfig)The phone configuration.QuickConnectConfig.BuilderphoneConfig(PhoneNumberQuickConnectConfig phoneConfig)The phone configuration.default QuickConnectConfig.BuilderqueueConfig(Consumer<QueueQuickConnectConfig.Builder> queueConfig)The queue configuration.QuickConnectConfig.BuilderqueueConfig(QueueQuickConnectConfig queueConfig)The queue configuration.QuickConnectConfig.BuilderquickConnectType(String quickConnectType)The type of quick connect.QuickConnectConfig.BuilderquickConnectType(QuickConnectType quickConnectType)The type of quick connect.default QuickConnectConfig.BuilderuserConfig(Consumer<UserQuickConnectConfig.Builder> userConfig)The user configuration.QuickConnectConfig.BuilderuserConfig(UserQuickConnectConfig userConfig)The user configuration.-
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
-
quickConnectType
QuickConnectConfig.Builder quickConnectType(String quickConnectType)
The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
- Parameters:
quickConnectType- The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuickConnectType,QuickConnectType
-
quickConnectType
QuickConnectConfig.Builder quickConnectType(QuickConnectType quickConnectType)
The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
- Parameters:
quickConnectType- The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuickConnectType,QuickConnectType
-
userConfig
QuickConnectConfig.Builder userConfig(UserQuickConnectConfig userConfig)
The user configuration. This is required only if QuickConnectType is USER.
- Parameters:
userConfig- The user configuration. This is required only if QuickConnectType is USER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userConfig
default QuickConnectConfig.Builder userConfig(Consumer<UserQuickConnectConfig.Builder> userConfig)
The user configuration. This is required only if QuickConnectType is USER.
This is a convenience method that creates an instance of theUserQuickConnectConfig.Builderavoiding the need to create one manually viaUserQuickConnectConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserConfig(UserQuickConnectConfig).- Parameters:
userConfig- a consumer that will call methods onUserQuickConnectConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userConfig(UserQuickConnectConfig)
-
queueConfig
QuickConnectConfig.Builder queueConfig(QueueQuickConnectConfig queueConfig)
The queue configuration. This is required only if QuickConnectType is QUEUE.
- Parameters:
queueConfig- The queue configuration. This is required only if QuickConnectType is QUEUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueConfig
default QuickConnectConfig.Builder queueConfig(Consumer<QueueQuickConnectConfig.Builder> queueConfig)
The queue configuration. This is required only if QuickConnectType is QUEUE.
This is a convenience method that creates an instance of theQueueQuickConnectConfig.Builderavoiding the need to create one manually viaQueueQuickConnectConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueueConfig(QueueQuickConnectConfig).- Parameters:
queueConfig- a consumer that will call methods onQueueQuickConnectConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queueConfig(QueueQuickConnectConfig)
-
phoneConfig
QuickConnectConfig.Builder phoneConfig(PhoneNumberQuickConnectConfig phoneConfig)
The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
- Parameters:
phoneConfig- The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneConfig
default QuickConnectConfig.Builder phoneConfig(Consumer<PhoneNumberQuickConnectConfig.Builder> phoneConfig)
The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
This is a convenience method that creates an instance of thePhoneNumberQuickConnectConfig.Builderavoiding the need to create one manually viaPhoneNumberQuickConnectConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophoneConfig(PhoneNumberQuickConnectConfig).- Parameters:
phoneConfig- a consumer that will call methods onPhoneNumberQuickConnectConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
phoneConfig(PhoneNumberQuickConnectConfig)
-
-