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