Class CfnRoutingProfile.RoutingProfileQueueReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRoutingProfile.RoutingProfileQueueReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingProfile.RoutingProfileQueueReferenceProperty>
- Enclosing interface:
CfnRoutingProfile.RoutingProfileQueueReferenceProperty
@Stability(Stable)
public static final class CfnRoutingProfile.RoutingProfileQueueReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingProfile.RoutingProfileQueueReferenceProperty>
A builder for
CfnRoutingProfile.RoutingProfileQueueReferenceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRoutingProfile.RoutingProfileQueueReferenceProperty.getChannel()
Sets the value ofCfnRoutingProfile.RoutingProfileQueueReferenceProperty.getQueueArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channel
@Stability(Stable) public CfnRoutingProfile.RoutingProfileQueueReferenceProperty.Builder channel(String channel) Sets the value ofCfnRoutingProfile.RoutingProfileQueueReferenceProperty.getChannel()
- Parameters:
channel
- The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. This parameter is required.- Returns:
this
-
queueArn
@Stability(Stable) public CfnRoutingProfile.RoutingProfileQueueReferenceProperty.Builder queueArn(String queueArn) Sets the value ofCfnRoutingProfile.RoutingProfileQueueReferenceProperty.getQueueArn()
- Parameters:
queueArn
- The Amazon Resource Name (ARN) of the queue. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRoutingProfile.RoutingProfileQueueReferenceProperty>
- Returns:
- a new instance of
CfnRoutingProfile.RoutingProfileQueueReferenceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-