Class CfnAPNSSandboxChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnAPNSSandboxChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAPNSSandboxChannelProps>
- Enclosing interface:
- CfnAPNSSandboxChannelProps
@Stability(Stable)
public static final class CfnAPNSSandboxChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAPNSSandboxChannelProps>
A builder for
CfnAPNSSandboxChannelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnAPNSSandboxChannelProps.getApplicationId()build()Builds the configured instance.Sets the value ofCfnAPNSSandboxChannelProps.getBundleId()certificate(String certificate) Sets the value ofCfnAPNSSandboxChannelProps.getCertificate()defaultAuthenticationMethod(String defaultAuthenticationMethod) Sets the value ofCfnAPNSSandboxChannelProps.getDefaultAuthenticationMethod()Sets the value ofCfnAPNSSandboxChannelProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnAPNSSandboxChannelProps.getEnabled()privateKey(String privateKey) Sets the value ofCfnAPNSSandboxChannelProps.getPrivateKey()Sets the value ofCfnAPNSSandboxChannelProps.getTeamId()Sets the value ofCfnAPNSSandboxChannelProps.getTokenKey()tokenKeyId(String tokenKeyId) Sets the value ofCfnAPNSSandboxChannelProps.getTokenKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnAPNSSandboxChannelProps.getApplicationId()- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application that the APNs sandbox channel applies to. This parameter is required.- Returns:
this
-
bundleId
Sets the value ofCfnAPNSSandboxChannelProps.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 ofCfnAPNSSandboxChannelProps.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 CfnAPNSSandboxChannelProps.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod) Sets the value ofCfnAPNSSandboxChannelProps.getDefaultAuthenticationMethod()- Parameters:
defaultAuthenticationMethod- The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs. Valid options arekeyorcertificate.- Returns:
this
-
enabled
Sets the value ofCfnAPNSSandboxChannelProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the APNs Sandbox channel for the Amazon Pinpoint application.- Returns:
this
-
enabled
Sets the value ofCfnAPNSSandboxChannelProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the APNs Sandbox channel for the Amazon Pinpoint application.- Returns:
this
-
privateKey
Sets the value ofCfnAPNSSandboxChannelProps.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 ofCfnAPNSSandboxChannelProps.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 ofCfnAPNSSandboxChannelProps.getTokenKey()- Parameters:
tokenKey- The authentication key to use for APNs tokens.- Returns:
this
-
tokenKeyId
Sets the value ofCfnAPNSSandboxChannelProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnAPNSSandboxChannelProps>- Returns:
- a new instance of
CfnAPNSSandboxChannelProps - Throws:
NullPointerException- if any required attribute was not provided
-