Class CfnQueueMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.connect.mixins.CfnQueueMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueueMixinProps>
- Enclosing interface:
CfnQueueMixinProps
@Stability(Stable)
public static final class CfnQueueMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueueMixinProps>
A builder for
CfnQueueMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnQueueMixinProps.getDescription()hoursOfOperationArn(String hoursOfOperationArn) Sets the value ofCfnQueueMixinProps.getHoursOfOperationArn()instanceArn(String instanceArn) Sets the value ofCfnQueueMixinProps.getInstanceArn()maxContacts(Number maxContacts) Sets the value ofCfnQueueMixinProps.getMaxContacts()Sets the value ofCfnQueueMixinProps.getName()outboundCallerConfig(IResolvable outboundCallerConfig) Sets the value ofCfnQueueMixinProps.getOutboundCallerConfig()outboundCallerConfig(CfnQueuePropsMixin.OutboundCallerConfigProperty outboundCallerConfig) Sets the value ofCfnQueueMixinProps.getOutboundCallerConfig()outboundEmailConfig(IResolvable outboundEmailConfig) Sets the value ofCfnQueueMixinProps.getOutboundEmailConfig()outboundEmailConfig(CfnQueuePropsMixin.OutboundEmailConfigProperty outboundEmailConfig) Sets the value ofCfnQueueMixinProps.getOutboundEmailConfig()quickConnectArns(List<String> quickConnectArns) Sets the value ofCfnQueueMixinProps.getQuickConnectArns()Sets the value ofCfnQueueMixinProps.getStatus()Sets the value ofCfnQueueMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnQueueMixinProps.getDescription()- Parameters:
description- The description of the queue.- Returns:
this
-
hoursOfOperationArn
@Stability(Stable) public CfnQueueMixinProps.Builder hoursOfOperationArn(String hoursOfOperationArn) Sets the value ofCfnQueueMixinProps.getHoursOfOperationArn()- Parameters:
hoursOfOperationArn- The Amazon Resource Name (ARN) of the hours of operation.- Returns:
this
-
instanceArn
Sets the value ofCfnQueueMixinProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance.- Returns:
this
-
maxContacts
Sets the value ofCfnQueueMixinProps.getMaxContacts()- Parameters:
maxContacts- The maximum number of contacts that can be in the queue before it is considered full.- Returns:
this
-
name
Sets the value ofCfnQueueMixinProps.getName()- Parameters:
name- The name of the queue.- Returns:
this
-
outboundCallerConfig
@Stability(Stable) public CfnQueueMixinProps.Builder outboundCallerConfig(IResolvable outboundCallerConfig) Sets the value ofCfnQueueMixinProps.getOutboundCallerConfig()- Parameters:
outboundCallerConfig- The outbound caller ID name, number, and outbound whisper flow.- Returns:
this
-
outboundCallerConfig
@Stability(Stable) public CfnQueueMixinProps.Builder outboundCallerConfig(CfnQueuePropsMixin.OutboundCallerConfigProperty outboundCallerConfig) Sets the value ofCfnQueueMixinProps.getOutboundCallerConfig()- Parameters:
outboundCallerConfig- The outbound caller ID name, number, and outbound whisper flow.- Returns:
this
-
outboundEmailConfig
@Stability(Stable) public CfnQueueMixinProps.Builder outboundEmailConfig(IResolvable outboundEmailConfig) Sets the value ofCfnQueueMixinProps.getOutboundEmailConfig()- Parameters:
outboundEmailConfig- The outbound email address ID for a specified queue.- Returns:
this
-
outboundEmailConfig
@Stability(Stable) public CfnQueueMixinProps.Builder outboundEmailConfig(CfnQueuePropsMixin.OutboundEmailConfigProperty outboundEmailConfig) Sets the value ofCfnQueueMixinProps.getOutboundEmailConfig()- Parameters:
outboundEmailConfig- The outbound email address ID for a specified queue.- Returns:
this
-
quickConnectArns
@Stability(Stable) public CfnQueueMixinProps.Builder quickConnectArns(List<String> quickConnectArns) Sets the value ofCfnQueueMixinProps.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 ofCfnQueueMixinProps.getStatus()- Parameters:
status- The status of the queue.- Returns:
this
-
tags
Sets the value ofCfnQueueMixinProps.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<CfnQueueMixinProps>- Returns:
- a new instance of
CfnQueueMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-