Class CfnAPNSVoipChannel.Builder

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

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

    • create

      @Stability(Stable) public static CfnAPNSVoipChannel.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 CfnAPNSVoipChannel.Builder.
    • applicationId

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

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

      @Stability(Stable) public CfnAPNSVoipChannel.Builder bundleId(String bundleId)
      The bundle identifier that's assigned to your iOS app.

      This identifier is used for APNs tokens.

      Parameters:
      bundleId - The bundle identifier that's assigned to your iOS app. This parameter is required.
      Returns:
      this
    • certificate

      @Stability(Stable) public CfnAPNSVoipChannel.Builder certificate(String certificate)
      The APNs client certificate that you received from Apple.

      Specify this value if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.

      Parameters:
      certificate - The APNs client certificate that you received from Apple. This parameter is required.
      Returns:
      this
    • defaultAuthenticationMethod

      @Stability(Stable) public CfnAPNSVoipChannel.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod)
      The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.

      Valid options are key or certificate .

      Parameters:
      defaultAuthenticationMethod - The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnAPNSVoipChannel.Builder enabled(Boolean enabled)
      Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.

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

      @Stability(Stable) public CfnAPNSVoipChannel.Builder enabled(IResolvable enabled)
      Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.

      Parameters:
      enabled - Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application. This parameter is required.
      Returns:
      this
    • privateKey

      @Stability(Stable) public CfnAPNSVoipChannel.Builder privateKey(String privateKey)
      The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.

      Parameters:
      privateKey - The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs. This parameter is required.
      Returns:
      this
    • teamId

      @Stability(Stable) public CfnAPNSVoipChannel.Builder teamId(String teamId)
      The identifier that's assigned to your Apple Developer Account team.

      This identifier is used for APNs tokens.

      Parameters:
      teamId - The identifier that's assigned to your Apple Developer Account team. This parameter is required.
      Returns:
      this
    • tokenKey

      @Stability(Stable) public CfnAPNSVoipChannel.Builder tokenKey(String tokenKey)
      The authentication key to use for APNs tokens.

      Parameters:
      tokenKey - The authentication key to use for APNs tokens. This parameter is required.
      Returns:
      this
    • tokenKeyId

      @Stability(Stable) public CfnAPNSVoipChannel.Builder tokenKeyId(String tokenKeyId)
      The key identifier that's assigned to your APNs signing key.

      Specify this value if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.

      Parameters:
      tokenKeyId - The key identifier that's assigned to your APNs signing key. This parameter is required.
      Returns:
      this
    • build

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