Class CfnVoiceChannel.Builder

java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnVoiceChannel.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVoiceChannel>
Enclosing class:
CfnVoiceChannel

@Stability(Stable) public static final class CfnVoiceChannel.Builder extends Object implements software.amazon.jsii.Builder<CfnVoiceChannel>
A fluent builder for CfnVoiceChannel.
  • Method Details

    • create

      @Stability(Stable) public static CfnVoiceChannel.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnVoiceChannel.Builder.
    • applicationId

      @Stability(Stable) public CfnVoiceChannel.Builder applicationId(String applicationId)
      The unique identifier for the Amazon Pinpoint application that the voice channel applies to.

      Parameters:
      applicationId - The unique identifier for the Amazon Pinpoint application that the voice channel applies to. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnVoiceChannel.Builder enabled(Boolean enabled)
      Specifies whether to enable the voice channel for the application.

      Parameters:
      enabled - Specifies whether to enable the voice channel for the application. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnVoiceChannel.Builder enabled(IResolvable enabled)
      Specifies whether to enable the voice channel for the application.

      Parameters:
      enabled - Specifies whether to enable the voice channel for the application. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnVoiceChannel build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnVoiceChannel>
      Returns:
      a newly built instance of CfnVoiceChannel.