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