Class CfnCampaign.CustomDeliveryConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnCampaign.CustomDeliveryConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.CustomDeliveryConfigurationProperty>
- Enclosing interface:
CfnCampaign.CustomDeliveryConfigurationProperty
@Stability(Stable)
public static final class CfnCampaign.CustomDeliveryConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.CustomDeliveryConfigurationProperty>
A builder for
CfnCampaign.CustomDeliveryConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deliveryUri
(String deliveryUri) Sets the value ofCfnCampaign.CustomDeliveryConfigurationProperty.getDeliveryUri()
endpointTypes
(List<String> endpointTypes) Sets the value ofCfnCampaign.CustomDeliveryConfigurationProperty.getEndpointTypes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryUri
@Stability(Stable) public CfnCampaign.CustomDeliveryConfigurationProperty.Builder deliveryUri(String deliveryUri) Sets the value ofCfnCampaign.CustomDeliveryConfigurationProperty.getDeliveryUri()
- Parameters:
deliveryUri
- The destination to send the campaign or treatment to. This value can be one of the following:.- The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.
- The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
- Returns:
this
-
endpointTypes
@Stability(Stable) public CfnCampaign.CustomDeliveryConfigurationProperty.Builder endpointTypes(List<String> endpointTypes) Sets the value ofCfnCampaign.CustomDeliveryConfigurationProperty.getEndpointTypes()
- Parameters:
endpointTypes
- The types of endpoints to send the campaign or treatment to. Each valid value maps to a type of channel that you can associate with an endpoint by using theChannelType
property of an endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign.CustomDeliveryConfigurationProperty>
- Returns:
- a new instance of
CfnCampaign.CustomDeliveryConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-