Class CfnAPNSVoipSandboxChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnAPNSVoipSandboxChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAPNSVoipSandboxChannelMixinProps>
- Enclosing interface:
CfnAPNSVoipSandboxChannelMixinProps
@Stability(Stable)
public static final class CfnAPNSVoipSandboxChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAPNSVoipSandboxChannelMixinProps>
A builder for
CfnAPNSVoipSandboxChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getApplicationId()build()Builds the configured instance.Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getBundleId()certificate(String certificate) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getCertificate()defaultAuthenticationMethod(String defaultAuthenticationMethod) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getDefaultAuthenticationMethod()Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getEnabled()privateKey(String privateKey) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getPrivateKey()Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getTeamId()Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getTokenKey()tokenKeyId(String tokenKeyId) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getTokenKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
@Stability(Stable) public CfnAPNSVoipSandboxChannelMixinProps.Builder applicationId(String applicationId) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getApplicationId()- Parameters:
applicationId- The unique identifier for the application that the APNs VoIP sandbox channel applies to.- Returns:
this
-
bundleId
Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getBundleId()- Parameters:
bundleId- The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.- Returns:
this
-
certificate
@Stability(Stable) public CfnAPNSVoipSandboxChannelMixinProps.Builder certificate(String certificate) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getCertificate()- Parameters:
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.- Returns:
this
-
defaultAuthenticationMethod
@Stability(Stable) public CfnAPNSVoipSandboxChannelMixinProps.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod) Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.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 ofCfnAPNSVoipSandboxChannelMixinProps.getEnabled()- Parameters:
enabled- Specifies whether the APNs VoIP sandbox channel is enabled for the application.- Returns:
this
-
enabled
Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getEnabled()- Parameters:
enabled- Specifies whether the APNs VoIP sandbox channel is enabled for the application.- Returns:
this
-
privateKey
Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.getPrivateKey()- Parameters:
privateKey- The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.- Returns:
this
-
teamId
Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.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 ofCfnAPNSVoipSandboxChannelMixinProps.getTokenKey()- Parameters:
tokenKey- The authentication key to use for APNs tokens.- Returns:
this
-
tokenKeyId
Sets the value ofCfnAPNSVoipSandboxChannelMixinProps.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 the APNs sandbox environment by using APNs tokens.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAPNSVoipSandboxChannelMixinProps>- Returns:
- a new instance of
CfnAPNSVoipSandboxChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-