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