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
-CfnCampaign.CustomDeliveryConfigurationProperty.DeliveryUri
.- Returns:
this
-
endpointTypes
@Stability(Stable) public CfnCampaign.CustomDeliveryConfigurationProperty.Builder endpointTypes(List<String> endpointTypes) Sets the value ofCfnCampaign.CustomDeliveryConfigurationProperty.getEndpointTypes()
- Parameters:
endpointTypes
-CfnCampaign.CustomDeliveryConfigurationProperty.EndpointTypes
.- 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
-