Class CfnVoiceConnectorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.chime.CfnVoiceConnectorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVoiceConnectorMixinProps>
- Enclosing interface:
CfnVoiceConnectorMixinProps
@Stability(Stable)
public static final class CfnVoiceConnectorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVoiceConnectorMixinProps>
A builder for
CfnVoiceConnectorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnVoiceConnectorMixinProps.getAwsRegion()build()Builds the configured instance.Sets the value ofCfnVoiceConnectorMixinProps.getName()networkType(String networkType) Sets the value ofCfnVoiceConnectorMixinProps.getNetworkType()requireEncryption(Boolean requireEncryption) Sets the value ofCfnVoiceConnectorMixinProps.getRequireEncryption()requireEncryption(IResolvable requireEncryption) Sets the value ofCfnVoiceConnectorMixinProps.getRequireEncryption()Sets the value ofCfnVoiceConnectorMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsRegion
Sets the value ofCfnVoiceConnectorMixinProps.getAwsRegion()- Parameters:
awsRegion- The AWS Region in which the Voice Connector is created.- Returns:
this
-
name
Sets the value ofCfnVoiceConnectorMixinProps.getName()- Parameters:
name- The name of the Voice Connector.- Returns:
this
-
networkType
Sets the value ofCfnVoiceConnectorMixinProps.getNetworkType()- Parameters:
networkType- The type of network for the Voice Connector.- Returns:
this
-
requireEncryption
@Stability(Stable) public CfnVoiceConnectorMixinProps.Builder requireEncryption(Boolean requireEncryption) Sets the value ofCfnVoiceConnectorMixinProps.getRequireEncryption()- Parameters:
requireEncryption- Enables or disables encryption for the Voice Connector.- Returns:
this
-
requireEncryption
@Stability(Stable) public CfnVoiceConnectorMixinProps.Builder requireEncryption(IResolvable requireEncryption) Sets the value ofCfnVoiceConnectorMixinProps.getRequireEncryption()- Parameters:
requireEncryption- Enables or disables encryption for the Voice Connector.- Returns:
this
-
tags
Sets the value ofCfnVoiceConnectorMixinProps.getTags()- Parameters:
tags- The tags assigned to the Voice Connector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVoiceConnectorMixinProps>- Returns:
- a new instance of
CfnVoiceConnectorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-