Class EurekaInstance
- java.lang.Object
-
- org.kiwiproject.registry.eureka.common.EurekaInstance
-
public final class EurekaInstance extends Object
This model matches the format of the data being sent to the Eureka server
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEurekaInstance.EurekaInstanceBuilder
-
Method Summary
-
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
-
fromServiceInstance
public static EurekaInstance fromServiceInstance(ServiceInstance serviceInstance)
-
toServiceInstance
public ServiceInstance toServiceInstance()
-
toServiceInstance
public ServiceInstance toServiceInstance(NativeRegistryData nativeRegistryData)
-
builder
public static EurekaInstance.EurekaInstanceBuilder builder()
-
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()
-
withApp
public EurekaInstance withApp(String app)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withStatus
public EurekaInstance withStatus(String status)
- Returns:
- a clone of this object, except with this updated property (returns
thisif 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
thisif 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
thisif 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
thisif an identical value is passed).
-
-