Class CfnAPNSVoipSandboxChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnAPNSVoipSandboxChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAPNSVoipSandboxChannelProps>
- Enclosing interface:
CfnAPNSVoipSandboxChannelProps
@Stability(Stable)
public static final class CfnAPNSVoipSandboxChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAPNSVoipSandboxChannelProps>
A builder for
CfnAPNSVoipSandboxChannelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) Sets the value ofCfnAPNSVoipSandboxChannelProps.getApplicationId()
build()
Builds the configured instance.Sets the value ofCfnAPNSVoipSandboxChannelProps.getBundleId()
certificate
(String certificate) Sets the value ofCfnAPNSVoipSandboxChannelProps.getCertificate()
defaultAuthenticationMethod
(String defaultAuthenticationMethod) Sets the value ofCfnAPNSVoipSandboxChannelProps.getDefaultAuthenticationMethod()
Sets the value ofCfnAPNSVoipSandboxChannelProps.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnAPNSVoipSandboxChannelProps.getEnabled()
privateKey
(String privateKey) Sets the value ofCfnAPNSVoipSandboxChannelProps.getPrivateKey()
Sets the value ofCfnAPNSVoipSandboxChannelProps.getTeamId()
Sets the value ofCfnAPNSVoipSandboxChannelProps.getTokenKey()
tokenKeyId
(String tokenKeyId) Sets the value ofCfnAPNSVoipSandboxChannelProps.getTokenKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
@Stability(Stable) public CfnAPNSVoipSandboxChannelProps.Builder applicationId(String applicationId) Sets the value ofCfnAPNSVoipSandboxChannelProps.getApplicationId()
- Parameters:
applicationId
- The unique identifier for the application that the APNs VoIP sandbox channel applies to. This parameter is required.- Returns:
this
-
bundleId
Sets the value ofCfnAPNSVoipSandboxChannelProps.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 ofCfnAPNSVoipSandboxChannelProps.getCertificate()
- Parameters:
certificate
- The APNs client certificate that you received from Apple. Specify this value if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using an APNs certificate.- Returns:
this
-
defaultAuthenticationMethod
@Stability(Stable) public CfnAPNSVoipSandboxChannelProps.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod) Sets the value ofCfnAPNSVoipSandboxChannelProps.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 ofCfnAPNSVoipSandboxChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether the APNs VoIP sandbox channel is enabled for the application.- Returns:
this
-
enabled
Sets the value ofCfnAPNSVoipSandboxChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether the APNs VoIP sandbox channel is enabled for the application.- Returns:
this
-
privateKey
Sets the value ofCfnAPNSVoipSandboxChannelProps.getPrivateKey()
- Parameters:
privateKey
- The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.- Returns:
this
-
teamId
Sets the value ofCfnAPNSVoipSandboxChannelProps.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 ofCfnAPNSVoipSandboxChannelProps.getTokenKey()
- Parameters:
tokenKey
- The authentication key to use for APNs tokens.- Returns:
this
-
tokenKeyId
Sets the value ofCfnAPNSVoipSandboxChannelProps.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 the APNs sandbox environment by using APNs tokens.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAPNSVoipSandboxChannelProps>
- Returns:
- a new instance of
CfnAPNSVoipSandboxChannelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-