public static final class CfnAPNSVoipChannelProps.Builder
extends java.lang.Object
CfnAPNSVoipChannelProps
Constructor and Description |
---|
Builder() |
public CfnAPNSVoipChannelProps.Builder applicationId(java.lang.String applicationId)
CfnAPNSVoipChannelProps.getApplicationId()
applicationId
- The unique identifier for the Amazon Pinpoint application that the APNs VoIP channel applies to. This parameter is required.this
public CfnAPNSVoipChannelProps.Builder bundleId(java.lang.String bundleId)
CfnAPNSVoipChannelProps.getBundleId()
bundleId
- The bundle identifier that's assigned to your iOS app.
This identifier is used for APNs tokens.this
public CfnAPNSVoipChannelProps.Builder certificate(java.lang.String certificate)
CfnAPNSVoipChannelProps.getCertificate()
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.this
public CfnAPNSVoipChannelProps.Builder defaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
CfnAPNSVoipChannelProps.getDefaultAuthenticationMethod()
defaultAuthenticationMethod
- The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.
Valid options are key
or certificate
.this
public CfnAPNSVoipChannelProps.Builder enabled(java.lang.Boolean enabled)
CfnAPNSVoipChannelProps.getEnabled()
enabled
- Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.this
public CfnAPNSVoipChannelProps.Builder enabled(IResolvable enabled)
CfnAPNSVoipChannelProps.getEnabled()
enabled
- Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.this
public CfnAPNSVoipChannelProps.Builder privateKey(java.lang.String privateKey)
CfnAPNSVoipChannelProps.getPrivateKey()
privateKey
- The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.this
public CfnAPNSVoipChannelProps.Builder teamId(java.lang.String teamId)
CfnAPNSVoipChannelProps.getTeamId()
teamId
- The identifier that's assigned to your Apple Developer Account team.
This identifier is used for APNs tokens.this
public CfnAPNSVoipChannelProps.Builder tokenKey(java.lang.String tokenKey)
CfnAPNSVoipChannelProps.getTokenKey()
tokenKey
- The authentication key to use for APNs tokens.this
public CfnAPNSVoipChannelProps.Builder tokenKeyId(java.lang.String tokenKeyId)
CfnAPNSVoipChannelProps.getTokenKeyId()
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.this
public CfnAPNSVoipChannelProps build()
CfnAPNSVoipChannelProps
java.lang.NullPointerException
- if any required attribute was not provided