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