Interface AwsCloudMapServiceDiscovery.Builder

    • Method Detail

      • attributes

        AwsCloudMapServiceDiscovery.Builder attributes​(Collection<AwsCloudMapInstanceAttribute> attributes)

        A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.

        Parameters:
        attributes - A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        AwsCloudMapServiceDiscovery.Builder attributes​(AwsCloudMapInstanceAttribute... attributes)

        A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.

        Parameters:
        attributes - A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipPreference

        AwsCloudMapServiceDiscovery.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

        AwsCloudMapServiceDiscovery.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
      • namespaceName

        AwsCloudMapServiceDiscovery.Builder namespaceName​(String namespaceName)

        The name of the Cloud Map namespace to use.

        Parameters:
        namespaceName - The name of the Cloud Map namespace to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        AwsCloudMapServiceDiscovery.Builder serviceName​(String serviceName)

        The name of the Cloud Map service to use.

        Parameters:
        serviceName - The name of the Cloud Map service to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.