Class CfnVoiceChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnVoiceChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVoiceChannelProps>
- Enclosing interface:
CfnVoiceChannelProps
@Stability(Stable)
public static final class CfnVoiceChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVoiceChannelProps>
A builder for
CfnVoiceChannelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) Sets the value ofCfnVoiceChannelProps.getApplicationId()
build()
Builds the configured instance.Sets the value ofCfnVoiceChannelProps.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnVoiceChannelProps.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnVoiceChannelProps.getApplicationId()
- Parameters:
applicationId
- The unique identifier for the Amazon Pinpoint application that the voice channel applies to. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnVoiceChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether to enable the voice channel for the application.- Returns:
this
-
enabled
Sets the value ofCfnVoiceChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether to enable the voice channel for the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVoiceChannelProps>
- Returns:
- a new instance of
CfnVoiceChannelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-