Class CfnQueueProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnQueueProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueueProps>
- Enclosing interface:
CfnQueueProps
@Stability(Stable)
public static final class CfnQueueProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueueProps>
A builder for
CfnQueueProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnQueueProps.getDescription()hoursOfOperationArn(String hoursOfOperationArn) Sets the value ofCfnQueueProps.getHoursOfOperationArn()instanceArn(String instanceArn) Sets the value ofCfnQueueProps.getInstanceArn()maxContacts(Number maxContacts) Sets the value ofCfnQueueProps.getMaxContacts()Sets the value ofCfnQueueProps.getName()outboundCallerConfig(IResolvable outboundCallerConfig) Sets the value ofCfnQueueProps.getOutboundCallerConfig()outboundCallerConfig(CfnQueue.OutboundCallerConfigProperty outboundCallerConfig) Sets the value ofCfnQueueProps.getOutboundCallerConfig()outboundEmailConfig(IResolvable outboundEmailConfig) Sets the value ofCfnQueueProps.getOutboundEmailConfig()outboundEmailConfig(CfnQueue.OutboundEmailConfigProperty outboundEmailConfig) Sets the value ofCfnQueueProps.getOutboundEmailConfig()quickConnectArns(List<String> quickConnectArns) Sets the value ofCfnQueueProps.getQuickConnectArns()Sets the value ofCfnQueueProps.getStatus()Sets the value ofCfnQueueProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hoursOfOperationArn
Sets the value ofCfnQueueProps.getHoursOfOperationArn()- Parameters:
hoursOfOperationArn- The Amazon Resource Name (ARN) of the hours of operation. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnQueueProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnQueueProps.getName()- Parameters:
name- The name of the queue. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnQueueProps.getDescription()- Parameters:
description- The description of the queue.- Returns:
this
-
maxContacts
Sets the value ofCfnQueueProps.getMaxContacts()- Parameters:
maxContacts- The maximum number of contacts that can be in the queue before it is considered full.- Returns:
this
-
outboundCallerConfig
@Stability(Stable) public CfnQueueProps.Builder outboundCallerConfig(IResolvable outboundCallerConfig) Sets the value ofCfnQueueProps.getOutboundCallerConfig()- Parameters:
outboundCallerConfig- The outbound caller ID name, number, and outbound whisper flow.- Returns:
this
-
outboundCallerConfig
@Stability(Stable) public CfnQueueProps.Builder outboundCallerConfig(CfnQueue.OutboundCallerConfigProperty outboundCallerConfig) Sets the value ofCfnQueueProps.getOutboundCallerConfig()- Parameters:
outboundCallerConfig- The outbound caller ID name, number, and outbound whisper flow.- Returns:
this
-
outboundEmailConfig
@Stability(Stable) public CfnQueueProps.Builder outboundEmailConfig(IResolvable outboundEmailConfig) Sets the value ofCfnQueueProps.getOutboundEmailConfig()- Parameters:
outboundEmailConfig- The outbound email address ID for a specified queue.- Returns:
this
-
outboundEmailConfig
@Stability(Stable) public CfnQueueProps.Builder outboundEmailConfig(CfnQueue.OutboundEmailConfigProperty outboundEmailConfig) Sets the value ofCfnQueueProps.getOutboundEmailConfig()- Parameters:
outboundEmailConfig- The outbound email address ID for a specified queue.- Returns:
this
-
quickConnectArns
Sets the value ofCfnQueueProps.getQuickConnectArns()- Parameters:
quickConnectArns- The Amazon Resource Names (ARN) of the of the quick connects available to agents who are working the queue.- Returns:
this
-
status
Sets the value ofCfnQueueProps.getStatus()- Parameters:
status- The status of the queue.- Returns:
this
-
tags
Sets the value ofCfnQueueProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueueProps>- Returns:
- a new instance of
CfnQueueProps - Throws:
NullPointerException- if any required attribute was not provided
-