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