Class CfnProactiveEngagementPropsMixin.EmergencyContactProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.shield.CfnProactiveEngagementPropsMixin.EmergencyContactProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProactiveEngagementPropsMixin.EmergencyContactProperty>
- Enclosing interface:
CfnProactiveEngagementPropsMixin.EmergencyContactProperty
@Stability(Stable)
public static final class CfnProactiveEngagementPropsMixin.EmergencyContactProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProactiveEngagementPropsMixin.EmergencyContactProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contactNotes(String contactNotes) emailAddress(String emailAddress) phoneNumber(String phoneNumber)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactNotes
@Stability(Stable) public CfnProactiveEngagementPropsMixin.EmergencyContactProperty.Builder contactNotes(String contactNotes) - Parameters:
contactNotes- Additional notes regarding the contact.- Returns:
this
-
emailAddress
@Stability(Stable) public CfnProactiveEngagementPropsMixin.EmergencyContactProperty.Builder emailAddress(String emailAddress) - Parameters:
emailAddress- The email address for the contact.- Returns:
this
-
phoneNumber
@Stability(Stable) public CfnProactiveEngagementPropsMixin.EmergencyContactProperty.Builder phoneNumber(String phoneNumber) - Parameters:
phoneNumber- The phone number for the contact.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProactiveEngagementPropsMixin.EmergencyContactProperty>- Returns:
- a new instance of
CfnProactiveEngagementPropsMixin.EmergencyContactProperty - Throws:
NullPointerException- if any required attribute was not provided
-