Class CfnResourceConfiguration.DnsResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnResourceConfiguration.DnsResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceConfiguration.DnsResourceProperty>
- Enclosing interface:
CfnResourceConfiguration.DnsResourceProperty
@Stability(Stable)
public static final class CfnResourceConfiguration.DnsResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceConfiguration.DnsResourceProperty>
A builder for
CfnResourceConfiguration.DnsResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainName(String domainName) Sets the value ofCfnResourceConfiguration.DnsResourceProperty.getDomainName()ipAddressType(String ipAddressType) Sets the value ofCfnResourceConfiguration.DnsResourceProperty.getIpAddressType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
@Stability(Stable) public CfnResourceConfiguration.DnsResourceProperty.Builder domainName(String domainName) Sets the value ofCfnResourceConfiguration.DnsResourceProperty.getDomainName()- Parameters:
domainName- The domain name of the resource configuration. This parameter is required.- Returns:
this
-
ipAddressType
@Stability(Stable) public CfnResourceConfiguration.DnsResourceProperty.Builder ipAddressType(String ipAddressType) Sets the value ofCfnResourceConfiguration.DnsResourceProperty.getIpAddressType()- Parameters:
ipAddressType- The IP address type for the resource configuration. This parameter is required. Dualstack is not currently supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceConfiguration.DnsResourceProperty>- Returns:
- a new instance of
CfnResourceConfiguration.DnsResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-