Class EurekaInstance


  • public final class EurekaInstance
    extends Object
    This model matches the format of the data being sent to the Eureka server
    • Method Detail

      • getInstanceId

        public String getInstanceId()
      • getApp

        public String getApp()
      • getStatus

        public String getStatus()
      • getHostName

        public String getHostName()
      • getIpAddr

        public String getIpAddr()
      • getVipAddress

        public String getVipAddress()
      • getSecureVipAddress

        public String getSecureVipAddress()
      • getAdminPort

        public int getAdminPort()
      • getHomePageUrl

        public String getHomePageUrl()
      • getStatusPageUrl

        public String getStatusPageUrl()
      • getHealthCheckUrl

        public String getHealthCheckUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • withApp

        public EurekaInstance withApp​(String app)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withStatus

        public EurekaInstance withStatus​(String status)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDataCenterInfo

        public EurekaInstance withDataCenterInfo​(Map<String,​String> dataCenterInfo)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLeaseInfo

        public EurekaInstance withLeaseInfo​(Map<String,​Object> leaseInfo)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withRawResponse

        public EurekaInstance withRawResponse​(Map<String,​Object> rawResponse)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).