Class CfnEmailContactMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.notificationscontacts.CfnEmailContactMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailContactMixinProps>
- Enclosing interface:
CfnEmailContactMixinProps
@Stability(Stable)
public static final class CfnEmailContactMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailContactMixinProps>
A builder for
CfnEmailContactMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.emailAddress(String emailAddress) Sets the value ofCfnEmailContactMixinProps.getEmailAddress()Sets the value ofCfnEmailContactMixinProps.getName()Sets the value ofCfnEmailContactMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
emailAddress
Sets the value ofCfnEmailContactMixinProps.getEmailAddress()- Parameters:
emailAddress- The email address of the contact. The activation and notification emails are sent here.- Returns:
this
-
name
Sets the value ofCfnEmailContactMixinProps.getName()- Parameters:
name- The name of the contact.- Returns:
this
-
tags
Sets the value ofCfnEmailContactMixinProps.getTags()- Parameters:
tags- A list of tags to apply to the email contact.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEmailContactMixinProps>- Returns:
- a new instance of
CfnEmailContactMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-