Class CfnOptOutListProps.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnOptOutListProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOptOutListProps>
- Enclosing interface:
CfnOptOutListProps
@Stability(Stable)
public static final class CfnOptOutListProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOptOutListProps>
A builder for
CfnOptOutListProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.optOutListName(String optOutListName) Sets the value ofCfnOptOutListProps.getOptOutListName()Sets the value ofCfnOptOutListProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
optOutListName
Sets the value ofCfnOptOutListProps.getOptOutListName()- Parameters:
optOutListName- The name of the OptOutList.- Returns:
this
-
tags
Sets the value ofCfnOptOutListProps.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<CfnOptOutListProps>- Returns:
- a new instance of
CfnOptOutListProps - Throws:
NullPointerException- if any required attribute was not provided
-