Class CfnAPNSChannelPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnAPNSChannelPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAPNSChannelPropsMixin>
- Enclosing class:
CfnAPNSChannelPropsMixin
@Stability(Stable)
public static final class CfnAPNSChannelPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAPNSChannelPropsMixin>
A fluent builder for
CfnAPNSChannelPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier for the Amazon Pinpoint application that the APNs channel applies to.build()The bundle identifier that's assigned to your iOS app.certificate(String certificate) The APNs client certificate that you received from Apple.create()create(CfnPropertyMixinOptions options) defaultAuthenticationMethod(String defaultAuthenticationMethod) The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.Specifies whether to enable the APNs channel for the application.enabled(IResolvable enabled) Specifies whether to enable the APNs channel for the application.privateKey(String privateKey) The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.The identifier that's assigned to your Apple Developer Account team.The authentication key to use for APNs tokens.tokenKeyId(String tokenKeyId) The key identifier that's assigned to your APNs signing key.
-
Method Details
-
create
@Stability(Stable) public static CfnAPNSChannelPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAPNSChannelPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAPNSChannelPropsMixin.Builder.
-
applicationId
The unique identifier for the Amazon Pinpoint application that the APNs channel applies to.- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application that the APNs channel applies to. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
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- See Also:
-
defaultAuthenticationMethod
@Stability(Stable) public CfnAPNSChannelPropsMixin.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod) The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.Valid options are
keyorcertificate.- Parameters:
defaultAuthenticationMethod- The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs. This parameter is required.- Returns:
this- See Also:
-
enabled
Specifies whether to enable the APNs channel for the application.- Parameters:
enabled- Specifies whether to enable the APNs channel for the application. This parameter is required.- Returns:
this- See Also:
-
enabled
Specifies whether to enable the APNs channel for the application.- Parameters:
enabled- Specifies whether to enable the APNs channel for the application. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAPNSChannelPropsMixin>- Returns:
- a newly built instance of
CfnAPNSChannelPropsMixin.
-