Class CfnADMChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnADMChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnADMChannelProps>
- Enclosing interface:
CfnADMChannelProps
@Stability(Stable)
public static final class CfnADMChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnADMChannelProps>
A builder for
CfnADMChannelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) Sets the value ofCfnADMChannelProps.getApplicationId()
build()
Builds the configured instance.Sets the value ofCfnADMChannelProps.getClientId()
clientSecret
(String clientSecret) Sets the value ofCfnADMChannelProps.getClientSecret()
Sets the value ofCfnADMChannelProps.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnADMChannelProps.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnADMChannelProps.getApplicationId()
- Parameters:
applicationId
- The unique identifier for the Amazon Pinpoint application that the ADM channel applies to. This parameter is required.- Returns:
this
-
clientId
Sets the value ofCfnADMChannelProps.getClientId()
- Parameters:
clientId
- The Client ID that you received from Amazon to send messages by using ADM. This parameter is required.- Returns:
this
-
clientSecret
Sets the value ofCfnADMChannelProps.getClientSecret()
- Parameters:
clientSecret
- The Client Secret that you received from Amazon to send messages by using ADM. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnADMChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether to enable the ADM channel for the application.- Returns:
this
-
enabled
Sets the value ofCfnADMChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether to enable the ADM channel for the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnADMChannelProps>
- Returns:
- a new instance of
CfnADMChannelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-