Class CfnOptOutListMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnOptOutListMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOptOutListMixinProps>
- Enclosing interface:
CfnOptOutListMixinProps
@Stability(Stable)
public static final class CfnOptOutListMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOptOutListMixinProps>
A builder for
CfnOptOutListMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.optOutListName(String optOutListName) Sets the value ofCfnOptOutListMixinProps.getOptOutListName()Sets the value ofCfnOptOutListMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
optOutListName
Sets the value ofCfnOptOutListMixinProps.getOptOutListName()- Parameters:
optOutListName- The name of the OptOutList.- Returns:
this
-
tags
Sets the value ofCfnOptOutListMixinProps.getTags()- Parameters:
tags- An array of tags (key and value pairs) to associate with the new OptOutList.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOptOutListMixinProps>- Returns:
- a new instance of
CfnOptOutListMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-