Class CfnOptOutList.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnOptOutList.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOptOutList>
- Enclosing class:
CfnOptOutList
@Stability(Stable)
public static final class CfnOptOutList.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOptOutList>
A fluent builder for
CfnOptOutList
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnOptOutList.Builder
optOutListName
(String optOutListName) The name of the OptOutList.An array of tags (key and value pairs) to associate with the new OptOutList.
-
Method Details
-
create
@Stability(Stable) public static CfnOptOutList.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnOptOutList.Builder
.
-
optOutListName
The name of the OptOutList.- Parameters:
optOutListName
- The name of the OptOutList. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of tags (key and value pairs) to associate with the new OptOutList.- Parameters:
tags
- An array of tags (key and value pairs) to associate with the new OptOutList. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOptOutList>
- Returns:
- a newly built instance of
CfnOptOutList
.
-