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()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-CfnInstance.AttributesProperty.InboundCalls. This parameter is required.- Returns:
this
-
inboundCalls
@Stability(Stable) public CfnInstance.AttributesProperty.Builder inboundCalls(IResolvable inboundCalls) Sets the value ofCfnInstance.AttributesProperty.getInboundCalls()- Parameters:
inboundCalls-CfnInstance.AttributesProperty.InboundCalls. This parameter is required.- Returns:
this
-
outboundCalls
@Stability(Stable) public CfnInstance.AttributesProperty.Builder outboundCalls(Boolean outboundCalls) Sets the value ofCfnInstance.AttributesProperty.getOutboundCalls()- Parameters:
outboundCalls-CfnInstance.AttributesProperty.OutboundCalls. This parameter is required.- Returns:
this
-
outboundCalls
@Stability(Stable) public CfnInstance.AttributesProperty.Builder outboundCalls(IResolvable outboundCalls) Sets the value ofCfnInstance.AttributesProperty.getOutboundCalls()- Parameters:
outboundCalls-CfnInstance.AttributesProperty.OutboundCalls. This parameter is required.- Returns:
this
-
autoResolveBestVoices
@Stability(Stable) public CfnInstance.AttributesProperty.Builder autoResolveBestVoices(Boolean autoResolveBestVoices) Sets the value ofCfnInstance.AttributesProperty.getAutoResolveBestVoices()- Parameters:
autoResolveBestVoices-CfnInstance.AttributesProperty.AutoResolveBestVoices.- Returns:
this
-
autoResolveBestVoices
@Stability(Stable) public CfnInstance.AttributesProperty.Builder autoResolveBestVoices(IResolvable autoResolveBestVoices) Sets the value ofCfnInstance.AttributesProperty.getAutoResolveBestVoices()- Parameters:
autoResolveBestVoices-CfnInstance.AttributesProperty.AutoResolveBestVoices.- Returns:
this
-
contactflowLogs
@Stability(Stable) public CfnInstance.AttributesProperty.Builder contactflowLogs(Boolean contactflowLogs) Sets the value ofCfnInstance.AttributesProperty.getContactflowLogs()- Parameters:
contactflowLogs-CfnInstance.AttributesProperty.ContactflowLogs.- Returns:
this
-
contactflowLogs
@Stability(Stable) public CfnInstance.AttributesProperty.Builder contactflowLogs(IResolvable contactflowLogs) Sets the value ofCfnInstance.AttributesProperty.getContactflowLogs()- Parameters:
contactflowLogs-CfnInstance.AttributesProperty.ContactflowLogs.- Returns:
this
-
contactLens
Sets the value ofCfnInstance.AttributesProperty.getContactLens()- Parameters:
contactLens-CfnInstance.AttributesProperty.ContactLens.- Returns:
this
-
contactLens
@Stability(Stable) public CfnInstance.AttributesProperty.Builder contactLens(IResolvable contactLens) Sets the value ofCfnInstance.AttributesProperty.getContactLens()- Parameters:
contactLens-CfnInstance.AttributesProperty.ContactLens.- Returns:
this
-
earlyMedia
Sets the value ofCfnInstance.AttributesProperty.getEarlyMedia()- Parameters:
earlyMedia-CfnInstance.AttributesProperty.EarlyMedia.- Returns:
this
-
earlyMedia
Sets the value ofCfnInstance.AttributesProperty.getEarlyMedia()- Parameters:
earlyMedia-CfnInstance.AttributesProperty.EarlyMedia.- Returns:
this
-
useCustomTtsVoices
@Stability(Stable) public CfnInstance.AttributesProperty.Builder useCustomTtsVoices(Boolean useCustomTtsVoices) Sets the value ofCfnInstance.AttributesProperty.getUseCustomTtsVoices()- Parameters:
useCustomTtsVoices-CfnInstance.AttributesProperty.UseCustomTTSVoices.- Returns:
this
-
useCustomTtsVoices
@Stability(Stable) public CfnInstance.AttributesProperty.Builder useCustomTtsVoices(IResolvable useCustomTtsVoices) Sets the value ofCfnInstance.AttributesProperty.getUseCustomTtsVoices()- Parameters:
useCustomTtsVoices-CfnInstance.AttributesProperty.UseCustomTTSVoices.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInstance.AttributesProperty>- Returns:
- a new instance of
CfnInstance.AttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-