Interface DnsServersOptionsModifyStructure.Builder

    • Method Detail

      • customDnsServers

        DnsServersOptionsModifyStructure.Builder customDnsServers​(Collection<String> customDnsServers)

        The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.

        Parameters:
        customDnsServers - The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDnsServers

        DnsServersOptionsModifyStructure.Builder customDnsServers​(String... customDnsServers)

        The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.

        Parameters:
        customDnsServers - The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        DnsServersOptionsModifyStructure.Builder enabled​(Boolean enabled)

        Indicates whether DNS servers should be used. Specify False to delete the existing DNS servers.

        Parameters:
        enabled - Indicates whether DNS servers should be used. Specify False to delete the existing DNS servers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.