Class OptOutListReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.smsvoice.OptOutListReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OptOutListReference>
- Enclosing interface:
OptOutListReference
@Stability(Stable)
public static final class OptOutListReference.Builder
extends Object
implements software.amazon.jsii.Builder<OptOutListReference>
A builder for
OptOutListReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.optOutListArn(String optOutListArn) Sets the value ofOptOutListReference.getOptOutListArn()optOutListName(String optOutListName) Sets the value ofOptOutListReference.getOptOutListName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
optOutListArn
Sets the value ofOptOutListReference.getOptOutListArn()- Parameters:
optOutListArn- The ARN of the OptOutList resource. This parameter is required.- Returns:
this
-
optOutListName
Sets the value ofOptOutListReference.getOptOutListName()- Parameters:
optOutListName- The OptOutListName of the OptOutList resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OptOutListReference>- Returns:
- a new instance of
OptOutListReference - Throws:
NullPointerException- if any required attribute was not provided
-