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