Class CfnMailManagerAddonInstanceProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerAddonInstanceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerAddonInstanceProps>
- Enclosing interface:
CfnMailManagerAddonInstanceProps
@Stability(Stable)
public static final class CfnMailManagerAddonInstanceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerAddonInstanceProps>
A builder for
CfnMailManagerAddonInstanceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddonSubscriptionId
(String addonSubscriptionId) Sets the value ofCfnMailManagerAddonInstanceProps.getAddonSubscriptionId()
build()
Builds the configured instance.Sets the value ofCfnMailManagerAddonInstanceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addonSubscriptionId
@Stability(Stable) public CfnMailManagerAddonInstanceProps.Builder addonSubscriptionId(String addonSubscriptionId) Sets the value ofCfnMailManagerAddonInstanceProps.getAddonSubscriptionId()
- Parameters:
addonSubscriptionId
- The subscription ID for the instance. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnMailManagerAddonInstanceProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnMailManagerAddonInstanceProps.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<CfnMailManagerAddonInstanceProps>
- Returns:
- a new instance of
CfnMailManagerAddonInstanceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-