Class CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty>
- Enclosing interface:
CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty
@Stability(Stable)
public static final class CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dnsHostnameType(String dnsHostnameType) publicDualStackDnsName(String publicDualStackDnsName) publicIpv4DnsName(String publicIpv4DnsName) publicIpv6DnsName(String publicIpv6DnsName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dnsHostnameType
@Stability(Stable) public CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Builder dnsHostnameType(String dnsHostnameType) - Parameters:
dnsHostnameType- The public hostname type. For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide .- Returns:
this
-
publicDualStackDnsName
@Stability(Stable) public CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Builder publicDualStackDnsName(String publicDualStackDnsName) Sets the value ofCfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.getPublicDualStackDnsName()- Parameters:
publicDualStackDnsName- A dual-stack public hostname for a network interface. Requests from within the VPC resolve to both the private IPv4 address and the IPv6 Global Unicast Address of the network interface. Requests from the internet resolve to both the public IPv4 and the IPv6 GUA address of the network interface.- Returns:
this
-
publicIpv4DnsName
@Stability(Stable) public CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Builder publicIpv4DnsName(String publicIpv4DnsName) Sets the value ofCfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.getPublicIpv4DnsName()- Parameters:
publicIpv4DnsName- An IPv4-enabled public hostname for a network interface. Requests from within the VPC resolve to the private primary IPv4 address of the network interface. Requests from the internet resolve to the public IPv4 address of the network interface.- Returns:
this
-
publicIpv6DnsName
@Stability(Stable) public CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.Builder publicIpv6DnsName(String publicIpv6DnsName) Sets the value ofCfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty.getPublicIpv6DnsName()- Parameters:
publicIpv6DnsName- An IPv6-enabled public hostname for a network interface. Requests from within the VPC or from the internet resolve to the IPv6 GUA of the network interface.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty>- Returns:
- a new instance of
CfnNetworkInterfacePropsMixin.PublicIpDnsNameOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-