Interface DnsServiceDiscovery.Builder

    • Method Detail

      • hostname

        DnsServiceDiscovery.Builder hostname​(String hostname)

        Specifies the DNS service discovery hostname for the virtual node.

        Parameters:
        hostname - Specifies the DNS service discovery hostname for the virtual node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipPreference

        DnsServiceDiscovery.Builder ipPreference​(String ipPreference)

        The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.

        Parameters:
        ipPreference - The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpPreference, IpPreference
      • ipPreference

        DnsServiceDiscovery.Builder ipPreference​(IpPreference ipPreference)

        The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.

        Parameters:
        ipPreference - The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpPreference, IpPreference
      • responseType

        DnsServiceDiscovery.Builder responseType​(String responseType)

        Specifies the DNS response type for the virtual node.

        Parameters:
        responseType - Specifies the DNS response type for the virtual node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DnsResponseType, DnsResponseType