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