Class CfnMailManagerAddonSubscriptionProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerAddonSubscriptionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerAddonSubscriptionProps>
- Enclosing interface:
CfnMailManagerAddonSubscriptionProps
@Stability(Stable)
public static final class CfnMailManagerAddonSubscriptionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerAddonSubscriptionProps>
A builder for
CfnMailManagerAddonSubscriptionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMailManagerAddonSubscriptionProps.getAddonName()
build()
Builds the configured instance.Sets the value ofCfnMailManagerAddonSubscriptionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addonName
Sets the value ofCfnMailManagerAddonSubscriptionProps.getAddonName()
- Parameters:
addonName
- The name of the Add On to subscribe to. This parameter is required. You can only have one subscription for each Add On name.Valid Values:
TRENDMICRO_VSAPI | SPAMHAUS_DBL | ABUSIX_MAIL_INTELLIGENCE
- Returns:
this
-
tags
@Stability(Stable) public CfnMailManagerAddonSubscriptionProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnMailManagerAddonSubscriptionProps.getTags()
- Parameters:
tags
- The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMailManagerAddonSubscriptionProps>
- Returns:
- a new instance of
CfnMailManagerAddonSubscriptionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-