Class CfnQueue.OutboundCallerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnQueue.OutboundCallerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueue.OutboundCallerConfigProperty>
- Enclosing interface:
CfnQueue.OutboundCallerConfigProperty
@Stability(Stable)
public static final class CfnQueue.OutboundCallerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueue.OutboundCallerConfigProperty>
A builder for
CfnQueue.OutboundCallerConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.outboundCallerIdName
(String outboundCallerIdName) Sets the value ofCfnQueue.OutboundCallerConfigProperty.getOutboundCallerIdName()
outboundCallerIdNumberArn
(String outboundCallerIdNumberArn) Sets the value ofCfnQueue.OutboundCallerConfigProperty.getOutboundCallerIdNumberArn()
outboundFlowArn
(String outboundFlowArn) Sets the value ofCfnQueue.OutboundCallerConfigProperty.getOutboundFlowArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
outboundCallerIdName
@Stability(Stable) public CfnQueue.OutboundCallerConfigProperty.Builder outboundCallerIdName(String outboundCallerIdName) Sets the value ofCfnQueue.OutboundCallerConfigProperty.getOutboundCallerIdName()
- Parameters:
outboundCallerIdName
- The caller ID name.- Returns:
this
-
outboundCallerIdNumberArn
@Stability(Stable) public CfnQueue.OutboundCallerConfigProperty.Builder outboundCallerIdNumberArn(String outboundCallerIdNumberArn) Sets the value ofCfnQueue.OutboundCallerConfigProperty.getOutboundCallerIdNumberArn()
- Parameters:
outboundCallerIdNumberArn
- The Amazon Resource Name (ARN) of the outbound caller ID number.Only use the phone number ARN format that doesn't contain
instance
in the path, for example,arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you create a phone number using CloudFormation , or when you call the ListPhoneNumbersV2 API.- Returns:
this
-
outboundFlowArn
@Stability(Stable) public CfnQueue.OutboundCallerConfigProperty.Builder outboundFlowArn(String outboundFlowArn) Sets the value ofCfnQueue.OutboundCallerConfigProperty.getOutboundFlowArn()
- Parameters:
outboundFlowArn
- The Amazon Resource Name (ARN) of the outbound flow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnQueue.OutboundCallerConfigProperty>
- Returns:
- a new instance of
CfnQueue.OutboundCallerConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-