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