Interface PublicIpDnsNameOptions.Builder

  • Method Details

    • dnsHostnameType

      PublicIpDnsNameOptions.Builder dnsHostnameType(String dnsHostnameType)

      The public hostname type. For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide.

      Parameters:
      dnsHostnameType - The public hostname type. For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicIpv4DnsName

      PublicIpDnsNameOptions.Builder publicIpv4DnsName(String 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.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • publicIpv6DnsName

      PublicIpDnsNameOptions.Builder publicIpv6DnsName(String 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.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • publicDualStackDnsName

      PublicIpDnsNameOptions.Builder publicDualStackDnsName(String 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.

      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:
      Returns a reference to this object so that method calls can be chained together.