public static final class CfnAPNSChannel.Builder
extends java.lang.Object
CfnAPNSChannel
.Modifier and Type | Method and Description |
---|---|
CfnAPNSChannel.Builder |
applicationId(java.lang.String applicationId)
The unique identifier for the Amazon Pinpoint application that the APNs channel applies to.
|
CfnAPNSChannel |
build() |
CfnAPNSChannel.Builder |
bundleId(java.lang.String bundleId)
The bundle identifier that's assigned to your iOS app.
|
CfnAPNSChannel.Builder |
certificate(java.lang.String certificate)
The APNs client certificate that you received from Apple.
|
static CfnAPNSChannel.Builder |
create(Construct scope,
java.lang.String id) |
CfnAPNSChannel.Builder |
defaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.
|
CfnAPNSChannel.Builder |
enabled(java.lang.Boolean enabled)
Specifies whether to enable the APNs channel for the application.
|
CfnAPNSChannel.Builder |
enabled(IResolvable enabled)
Specifies whether to enable the APNs channel for the application.
|
CfnAPNSChannel.Builder |
privateKey(java.lang.String privateKey)
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
|
CfnAPNSChannel.Builder |
teamId(java.lang.String teamId)
The identifier that's assigned to your Apple Developer Account team.
|
CfnAPNSChannel.Builder |
tokenKey(java.lang.String tokenKey)
The authentication key to use for APNs tokens.
|
CfnAPNSChannel.Builder |
tokenKeyId(java.lang.String tokenKeyId)
The key identifier that's assigned to your APNs signing key.
|
public static CfnAPNSChannel.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnAPNSChannel.Builder
.public CfnAPNSChannel.Builder applicationId(java.lang.String applicationId)
applicationId
- The unique identifier for the Amazon Pinpoint application that the APNs channel applies to. This parameter is required.this
public CfnAPNSChannel.Builder bundleId(java.lang.String bundleId)
This identifier is used for APNs tokens.
bundleId
- The bundle identifier that's assigned to your iOS app. This parameter is required.this
public CfnAPNSChannel.Builder certificate(java.lang.String certificate)
Specify this value if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
certificate
- The APNs client certificate that you received from Apple. This parameter is required.this
public CfnAPNSChannel.Builder defaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
Valid options are key
or certificate
.
defaultAuthenticationMethod
- The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs. This parameter is required.this
public CfnAPNSChannel.Builder enabled(java.lang.Boolean enabled)
enabled
- Specifies whether to enable the APNs channel for the application. This parameter is required.this
public CfnAPNSChannel.Builder enabled(IResolvable enabled)
enabled
- Specifies whether to enable the APNs channel for the application. This parameter is required.this
public CfnAPNSChannel.Builder privateKey(java.lang.String privateKey)
privateKey
- The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs. This parameter is required.this
public CfnAPNSChannel.Builder teamId(java.lang.String teamId)
This identifier is used for APNs tokens.
teamId
- The identifier that's assigned to your Apple Developer Account team. This parameter is required.this
public CfnAPNSChannel.Builder tokenKey(java.lang.String tokenKey)
tokenKey
- The authentication key to use for APNs tokens. This parameter is required.this
public CfnAPNSChannel.Builder tokenKeyId(java.lang.String tokenKeyId)
Specify this value if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
tokenKeyId
- The key identifier that's assigned to your APNs signing key. This parameter is required.this
public CfnAPNSChannel build()