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
-
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()
inboundCalls
(Boolean inboundCalls) Sets the value ofCfnInstance.AttributesProperty.getInboundCalls()
inboundCalls
(IResolvable inboundCalls) Sets the value ofCfnInstance.AttributesProperty.getInboundCalls()
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
-
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
-