Class CfnInstance.AttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnInstance.AttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstance.AttributesProperty>
- Enclosing interface:
CfnInstance.AttributesProperty
@Stability(Stable)
public static final class CfnInstance.AttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstance.AttributesProperty>
A builder for
CfnInstance.AttributesProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoResolveBestVoices
(Boolean autoResolveBestVoices) Sets the value ofCfnInstance.AttributesProperty.getAutoResolveBestVoices()
autoResolveBestVoices
(IResolvable autoResolveBestVoices) Sets the value ofCfnInstance.AttributesProperty.getAutoResolveBestVoices()
build()
Builds the configured instance.contactflowLogs
(Boolean contactflowLogs) Sets the value ofCfnInstance.AttributesProperty.getContactflowLogs()
contactflowLogs
(IResolvable contactflowLogs) Sets the value ofCfnInstance.AttributesProperty.getContactflowLogs()
contactLens
(Boolean contactLens) Sets the value ofCfnInstance.AttributesProperty.getContactLens()
contactLens
(IResolvable contactLens) Sets the value ofCfnInstance.AttributesProperty.getContactLens()
earlyMedia
(Boolean earlyMedia) Sets the value ofCfnInstance.AttributesProperty.getEarlyMedia()
earlyMedia
(IResolvable earlyMedia) Sets the value ofCfnInstance.AttributesProperty.getEarlyMedia()
enhancedChatMonitoring
(Boolean enhancedChatMonitoring) Sets the value ofCfnInstance.AttributesProperty.getEnhancedChatMonitoring()
enhancedChatMonitoring
(IResolvable enhancedChatMonitoring) Sets the value ofCfnInstance.AttributesProperty.getEnhancedChatMonitoring()
enhancedContactMonitoring
(Boolean enhancedContactMonitoring) Sets the value ofCfnInstance.AttributesProperty.getEnhancedContactMonitoring()
enhancedContactMonitoring
(IResolvable enhancedContactMonitoring) Sets the value ofCfnInstance.AttributesProperty.getEnhancedContactMonitoring()
highVolumeOutBound
(Boolean highVolumeOutBound) Sets the value ofCfnInstance.AttributesProperty.getHighVolumeOutBound()
highVolumeOutBound
(IResolvable highVolumeOutBound) Sets the value ofCfnInstance.AttributesProperty.getHighVolumeOutBound()
inboundCalls
(Boolean inboundCalls) Sets the value ofCfnInstance.AttributesProperty.getInboundCalls()
inboundCalls
(IResolvable inboundCalls) Sets the value ofCfnInstance.AttributesProperty.getInboundCalls()
multiPartyChatConference
(Boolean multiPartyChatConference) Sets the value ofCfnInstance.AttributesProperty.getMultiPartyChatConference()
multiPartyChatConference
(IResolvable multiPartyChatConference) Sets the value ofCfnInstance.AttributesProperty.getMultiPartyChatConference()
multiPartyConference
(Boolean multiPartyConference) Sets the value ofCfnInstance.AttributesProperty.getMultiPartyConference()
multiPartyConference
(IResolvable multiPartyConference) Sets the value ofCfnInstance.AttributesProperty.getMultiPartyConference()
outboundCalls
(Boolean outboundCalls) Sets the value ofCfnInstance.AttributesProperty.getOutboundCalls()
outboundCalls
(IResolvable outboundCalls) Sets the value ofCfnInstance.AttributesProperty.getOutboundCalls()
useCustomTtsVoices
(Boolean useCustomTtsVoices) Sets the value ofCfnInstance.AttributesProperty.getUseCustomTtsVoices()
useCustomTtsVoices
(IResolvable useCustomTtsVoices) Sets the value ofCfnInstance.AttributesProperty.getUseCustomTtsVoices()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inboundCalls
Sets the value ofCfnInstance.AttributesProperty.getInboundCalls()
- Parameters:
inboundCalls
- Mandatory element which enables inbound calls on new instance. This parameter is required.- Returns:
this
-
inboundCalls
@Stability(Stable) public CfnInstance.AttributesProperty.Builder inboundCalls(IResolvable inboundCalls) Sets the value ofCfnInstance.AttributesProperty.getInboundCalls()
- Parameters:
inboundCalls
- Mandatory element which enables inbound calls on new instance. This parameter is required.- Returns:
this
-
outboundCalls
@Stability(Stable) public CfnInstance.AttributesProperty.Builder outboundCalls(Boolean outboundCalls) Sets the value ofCfnInstance.AttributesProperty.getOutboundCalls()
- Parameters:
outboundCalls
- Mandatory element which enables outbound calls on new instance. This parameter is required.- Returns:
this
-
outboundCalls
@Stability(Stable) public CfnInstance.AttributesProperty.Builder outboundCalls(IResolvable outboundCalls) Sets the value ofCfnInstance.AttributesProperty.getOutboundCalls()
- Parameters:
outboundCalls
- Mandatory element which enables outbound calls on new instance. This parameter is required.- Returns:
this
-
autoResolveBestVoices
@Stability(Stable) public CfnInstance.AttributesProperty.Builder autoResolveBestVoices(Boolean autoResolveBestVoices) Sets the value ofCfnInstance.AttributesProperty.getAutoResolveBestVoices()
- Parameters:
autoResolveBestVoices
- Boolean flag which enables AUTO_RESOLVE_BEST_VOICES on an instance.- Returns:
this
-
autoResolveBestVoices
@Stability(Stable) public CfnInstance.AttributesProperty.Builder autoResolveBestVoices(IResolvable autoResolveBestVoices) Sets the value ofCfnInstance.AttributesProperty.getAutoResolveBestVoices()
- Parameters:
autoResolveBestVoices
- Boolean flag which enables AUTO_RESOLVE_BEST_VOICES on an instance.- Returns:
this
-
contactflowLogs
@Stability(Stable) public CfnInstance.AttributesProperty.Builder contactflowLogs(Boolean contactflowLogs) Sets the value ofCfnInstance.AttributesProperty.getContactflowLogs()
- Parameters:
contactflowLogs
- Boolean flag which enables CONTACTFLOW_LOGS on an instance.- Returns:
this
-
contactflowLogs
@Stability(Stable) public CfnInstance.AttributesProperty.Builder contactflowLogs(IResolvable contactflowLogs) Sets the value ofCfnInstance.AttributesProperty.getContactflowLogs()
- Parameters:
contactflowLogs
- Boolean flag which enables CONTACTFLOW_LOGS on an instance.- Returns:
this
-
contactLens
Sets the value ofCfnInstance.AttributesProperty.getContactLens()
- Parameters:
contactLens
- Boolean flag which enables CONTACT_LENS on an instance.- Returns:
this
-
contactLens
@Stability(Stable) public CfnInstance.AttributesProperty.Builder contactLens(IResolvable contactLens) Sets the value ofCfnInstance.AttributesProperty.getContactLens()
- Parameters:
contactLens
- Boolean flag which enables CONTACT_LENS on an instance.- Returns:
this
-
earlyMedia
Sets the value ofCfnInstance.AttributesProperty.getEarlyMedia()
- Parameters:
earlyMedia
- Boolean flag which enables EARLY_MEDIA on an instance.- Returns:
this
-
earlyMedia
Sets the value ofCfnInstance.AttributesProperty.getEarlyMedia()
- Parameters:
earlyMedia
- Boolean flag which enables EARLY_MEDIA on an instance.- Returns:
this
-
enhancedChatMonitoring
@Stability(Stable) public CfnInstance.AttributesProperty.Builder enhancedChatMonitoring(Boolean enhancedChatMonitoring) Sets the value ofCfnInstance.AttributesProperty.getEnhancedChatMonitoring()
- Parameters:
enhancedChatMonitoring
- Boolean flag which enables ENHANCED_CHAT_MONITORING on an instance.- Returns:
this
-
enhancedChatMonitoring
@Stability(Stable) public CfnInstance.AttributesProperty.Builder enhancedChatMonitoring(IResolvable enhancedChatMonitoring) Sets the value ofCfnInstance.AttributesProperty.getEnhancedChatMonitoring()
- Parameters:
enhancedChatMonitoring
- Boolean flag which enables ENHANCED_CHAT_MONITORING on an instance.- Returns:
this
-
enhancedContactMonitoring
@Stability(Stable) public CfnInstance.AttributesProperty.Builder enhancedContactMonitoring(Boolean enhancedContactMonitoring) Sets the value ofCfnInstance.AttributesProperty.getEnhancedContactMonitoring()
- Parameters:
enhancedContactMonitoring
- Boolean flag which enables ENHANCED_CONTACT_MONITORING on an instance.- Returns:
this
-
enhancedContactMonitoring
@Stability(Stable) public CfnInstance.AttributesProperty.Builder enhancedContactMonitoring(IResolvable enhancedContactMonitoring) Sets the value ofCfnInstance.AttributesProperty.getEnhancedContactMonitoring()
- Parameters:
enhancedContactMonitoring
- Boolean flag which enables ENHANCED_CONTACT_MONITORING on an instance.- Returns:
this
-
highVolumeOutBound
@Stability(Stable) public CfnInstance.AttributesProperty.Builder highVolumeOutBound(Boolean highVolumeOutBound) Sets the value ofCfnInstance.AttributesProperty.getHighVolumeOutBound()
- Parameters:
highVolumeOutBound
- Boolean flag which enables HIGH_VOLUME_OUTBOUND on an instance.- Returns:
this
-
highVolumeOutBound
@Stability(Stable) public CfnInstance.AttributesProperty.Builder highVolumeOutBound(IResolvable highVolumeOutBound) Sets the value ofCfnInstance.AttributesProperty.getHighVolumeOutBound()
- Parameters:
highVolumeOutBound
- Boolean flag which enables HIGH_VOLUME_OUTBOUND on an instance.- Returns:
this
-
multiPartyChatConference
@Stability(Stable) public CfnInstance.AttributesProperty.Builder multiPartyChatConference(Boolean multiPartyChatConference) Sets the value ofCfnInstance.AttributesProperty.getMultiPartyChatConference()
- Parameters:
multiPartyChatConference
- Boolean flag which enables MULTI_PARTY_CHAT_CONFERENCE on an instance.- Returns:
this
-
multiPartyChatConference
@Stability(Stable) public CfnInstance.AttributesProperty.Builder multiPartyChatConference(IResolvable multiPartyChatConference) Sets the value ofCfnInstance.AttributesProperty.getMultiPartyChatConference()
- Parameters:
multiPartyChatConference
- Boolean flag which enables MULTI_PARTY_CHAT_CONFERENCE on an instance.- Returns:
this
-
multiPartyConference
@Stability(Stable) public CfnInstance.AttributesProperty.Builder multiPartyConference(Boolean multiPartyConference) Sets the value ofCfnInstance.AttributesProperty.getMultiPartyConference()
- Parameters:
multiPartyConference
- Boolean flag which enables MULTI_PARTY_CONFERENCE on an instance.- Returns:
this
-
multiPartyConference
@Stability(Stable) public CfnInstance.AttributesProperty.Builder multiPartyConference(IResolvable multiPartyConference) Sets the value ofCfnInstance.AttributesProperty.getMultiPartyConference()
- Parameters:
multiPartyConference
- Boolean flag which enables MULTI_PARTY_CONFERENCE on an instance.- Returns:
this
-
useCustomTtsVoices
@Stability(Stable) public CfnInstance.AttributesProperty.Builder useCustomTtsVoices(Boolean useCustomTtsVoices) Sets the value ofCfnInstance.AttributesProperty.getUseCustomTtsVoices()
- Parameters:
useCustomTtsVoices
- Boolean flag which enables USE_CUSTOM_TTS_VOICES on an instance.- Returns:
this
-
useCustomTtsVoices
@Stability(Stable) public CfnInstance.AttributesProperty.Builder useCustomTtsVoices(IResolvable useCustomTtsVoices) Sets the value ofCfnInstance.AttributesProperty.getUseCustomTtsVoices()
- Parameters:
useCustomTtsVoices
- Boolean flag which enables USE_CUSTOM_TTS_VOICES on an instance.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstance.AttributesProperty>
- Returns:
- a new instance of
CfnInstance.AttributesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-