Class KubernetesServiceInstance

java.lang.Object
org.springframework.cloud.kubernetes.discovery.KubernetesServiceInstance
All Implemented Interfaces:
org.springframework.cloud.client.ServiceInstance

@Deprecated(forRemoval=true) public class KubernetesServiceInstance extends Object implements org.springframework.cloud.client.ServiceInstance
Deprecated, for removal: This API element is subject to removal in a future version.
Author:
Ryan Baxter
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    KubernetesServiceInstance(String instanceId, String serviceId, String host, int port, boolean secure, URI uri, Map<String,String> metadata, String scheme, String namespace)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setInstanceId(String instanceId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setNamespace(String namespace)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPort(int port)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setScheme(String scheme)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setSecure(boolean secure)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setServiceId(String serviceId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setUri(URI uri)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KubernetesServiceInstance

      public KubernetesServiceInstance()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • KubernetesServiceInstance

      public KubernetesServiceInstance(String instanceId, String serviceId, String host, int port, boolean secure, URI uri, Map<String,String> metadata, String scheme, String namespace)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getInstanceId

      public String getInstanceId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getInstanceId in interface org.springframework.cloud.client.ServiceInstance
    • getServiceId

      public String getServiceId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getServiceId in interface org.springframework.cloud.client.ServiceInstance
    • getHost

      public String getHost()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getHost in interface org.springframework.cloud.client.ServiceInstance
    • getPort

      public int getPort()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPort in interface org.springframework.cloud.client.ServiceInstance
    • isSecure

      public boolean isSecure()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isSecure in interface org.springframework.cloud.client.ServiceInstance
    • getUri

      public URI getUri()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getUri in interface org.springframework.cloud.client.ServiceInstance
    • getMetadata

      public Map<String,String> getMetadata()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getMetadata in interface org.springframework.cloud.client.ServiceInstance
    • setInstanceId

      public void setInstanceId(String instanceId)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setServiceId

      public void setServiceId(String serviceId)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setHost

      public void setHost(String host)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPort

      public void setPort(int port)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setSecure

      public void setSecure(boolean secure)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setUri

      public void setUri(URI uri)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setScheme

      public void setScheme(String scheme)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getNamespace

      public String getNamespace()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setNamespace

      public void setNamespace(String namespace)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getScheme

      public String getScheme()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getScheme in interface org.springframework.cloud.client.ServiceInstance
    • equals

      public boolean equals(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object