Class CfnAPNSVoipChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnAPNSVoipChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAPNSVoipChannelProps>
- Enclosing interface:
CfnAPNSVoipChannelProps
@Stability(Stable)
public static final class CfnAPNSVoipChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAPNSVoipChannelProps>
A builder for
CfnAPNSVoipChannelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) Sets the value ofCfnAPNSVoipChannelProps.getApplicationId()
build()
Builds the configured instance.Sets the value ofCfnAPNSVoipChannelProps.getBundleId()
certificate
(String certificate) Sets the value ofCfnAPNSVoipChannelProps.getCertificate()
defaultAuthenticationMethod
(String defaultAuthenticationMethod) Sets the value ofCfnAPNSVoipChannelProps.getDefaultAuthenticationMethod()
Sets the value ofCfnAPNSVoipChannelProps.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnAPNSVoipChannelProps.getEnabled()
privateKey
(String privateKey) Sets the value ofCfnAPNSVoipChannelProps.getPrivateKey()
Sets the value ofCfnAPNSVoipChannelProps.getTeamId()
Sets the value ofCfnAPNSVoipChannelProps.getTokenKey()
tokenKeyId
(String tokenKeyId) Sets the value ofCfnAPNSVoipChannelProps.getTokenKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnAPNSVoipChannelProps.getApplicationId()
- Parameters:
applicationId
- The unique identifier for the Amazon Pinpoint application that the APNs VoIP channel applies to. This parameter is required.- Returns:
this
-
bundleId
Sets the value ofCfnAPNSVoipChannelProps.getBundleId()
- Parameters:
bundleId
- The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.- Returns:
this
-
certificate
Sets the value ofCfnAPNSVoipChannelProps.getCertificate()
- Parameters:
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.- Returns:
this
-
defaultAuthenticationMethod
@Stability(Stable) public CfnAPNSVoipChannelProps.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod) Sets the value ofCfnAPNSVoipChannelProps.getDefaultAuthenticationMethod()
- Parameters:
defaultAuthenticationMethod
- The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs. Valid options arekey
orcertificate
.- Returns:
this
-
enabled
Sets the value ofCfnAPNSVoipChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.- Returns:
this
-
enabled
Sets the value ofCfnAPNSVoipChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.- Returns:
this
-
privateKey
Sets the value ofCfnAPNSVoipChannelProps.getPrivateKey()
- Parameters:
privateKey
- The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.- Returns:
this
-
teamId
Sets the value ofCfnAPNSVoipChannelProps.getTeamId()
- Parameters:
teamId
- The identifier that's assigned to your Apple Developer Account team. This identifier is used for APNs tokens.- Returns:
this
-
tokenKey
Sets the value ofCfnAPNSVoipChannelProps.getTokenKey()
- Parameters:
tokenKey
- The authentication key to use for APNs tokens.- Returns:
this
-
tokenKeyId
Sets the value ofCfnAPNSVoipChannelProps.getTokenKeyId()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAPNSVoipChannelProps>
- Returns:
- a new instance of
CfnAPNSVoipChannelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-