Class CfnConfigurationSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpointemail.CfnConfigurationSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetProps>
- Enclosing interface:
CfnConfigurationSetProps
@Stability(Stable)
public static final class CfnConfigurationSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetProps>
A builder for
CfnConfigurationSetProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deliveryOptions
(IResolvable deliveryOptions) Sets the value ofCfnConfigurationSetProps.getDeliveryOptions()
deliveryOptions
(CfnConfigurationSet.DeliveryOptionsProperty deliveryOptions) Sets the value ofCfnConfigurationSetProps.getDeliveryOptions()
Sets the value ofCfnConfigurationSetProps.getName()
reputationOptions
(IResolvable reputationOptions) Sets the value ofCfnConfigurationSetProps.getReputationOptions()
reputationOptions
(CfnConfigurationSet.ReputationOptionsProperty reputationOptions) Sets the value ofCfnConfigurationSetProps.getReputationOptions()
sendingOptions
(IResolvable sendingOptions) Sets the value ofCfnConfigurationSetProps.getSendingOptions()
sendingOptions
(CfnConfigurationSet.SendingOptionsProperty sendingOptions) Sets the value ofCfnConfigurationSetProps.getSendingOptions()
tags
(List<? extends CfnConfigurationSet.TagsProperty> tags) Sets the value ofCfnConfigurationSetProps.getTags()
trackingOptions
(IResolvable trackingOptions) Sets the value ofCfnConfigurationSetProps.getTrackingOptions()
trackingOptions
(CfnConfigurationSet.TrackingOptionsProperty trackingOptions) Sets the value ofCfnConfigurationSetProps.getTrackingOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnConfigurationSetProps.getName()
- Parameters:
name
- The name of the configuration set. This parameter is required.- Returns:
this
-
deliveryOptions
@Stability(Stable) public CfnConfigurationSetProps.Builder deliveryOptions(CfnConfigurationSet.DeliveryOptionsProperty deliveryOptions) Sets the value ofCfnConfigurationSetProps.getDeliveryOptions()
- Parameters:
deliveryOptions
- An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.- Returns:
this
-
deliveryOptions
@Stability(Stable) public CfnConfigurationSetProps.Builder deliveryOptions(IResolvable deliveryOptions) Sets the value ofCfnConfigurationSetProps.getDeliveryOptions()
- Parameters:
deliveryOptions
- An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.- Returns:
this
-
reputationOptions
@Stability(Stable) public CfnConfigurationSetProps.Builder reputationOptions(IResolvable reputationOptions) Sets the value ofCfnConfigurationSetProps.getReputationOptions()
- Parameters:
reputationOptions
- An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.- Returns:
this
-
reputationOptions
@Stability(Stable) public CfnConfigurationSetProps.Builder reputationOptions(CfnConfigurationSet.ReputationOptionsProperty reputationOptions) Sets the value ofCfnConfigurationSetProps.getReputationOptions()
- Parameters:
reputationOptions
- An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.- Returns:
this
-
sendingOptions
@Stability(Stable) public CfnConfigurationSetProps.Builder sendingOptions(IResolvable sendingOptions) Sets the value ofCfnConfigurationSetProps.getSendingOptions()
- Parameters:
sendingOptions
- An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.- Returns:
this
-
sendingOptions
@Stability(Stable) public CfnConfigurationSetProps.Builder sendingOptions(CfnConfigurationSet.SendingOptionsProperty sendingOptions) Sets the value ofCfnConfigurationSetProps.getSendingOptions()
- Parameters:
sendingOptions
- An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.- Returns:
this
-
tags
@Stability(Stable) public CfnConfigurationSetProps.Builder tags(List<? extends CfnConfigurationSet.TagsProperty> tags) Sets the value ofCfnConfigurationSetProps.getTags()
- Parameters:
tags
- An object that defines the tags (keys and values) that you want to associate with the configuration set.- Returns:
this
-
trackingOptions
@Stability(Stable) public CfnConfigurationSetProps.Builder trackingOptions(IResolvable trackingOptions) Sets the value ofCfnConfigurationSetProps.getTrackingOptions()
- Parameters:
trackingOptions
- An object that defines the open and click tracking options for emails that you send using the configuration set.- Returns:
this
-
trackingOptions
@Stability(Stable) public CfnConfigurationSetProps.Builder trackingOptions(CfnConfigurationSet.TrackingOptionsProperty trackingOptions) Sets the value ofCfnConfigurationSetProps.getTrackingOptions()
- Parameters:
trackingOptions
- An object that defines the open and click tracking options for emails that you send using the configuration set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetProps>
- Returns:
- a new instance of
CfnConfigurationSetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-