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