public interface ConfigurableInstanceInfo
InstanceInfo modelling the data returned by the Eureka REST API.
See https://github.com/Netflix/eureka/wiki/Eureka-REST-operations
| Modifier and Type | Method and Description |
|---|---|
@NotBlank String |
getApp()
The application name.
|
String |
getAppGroupName()
The application group name.
|
String |
getAsgName() |
@Min(value=1L) int |
getCountryId()
The country id.
|
@NotNull DataCenterInfo |
getDataCenterInfo()
The
DataCenterInfo instance. |
String |
getHealthCheckUrl() |
String |
getHomePageUrl() |
@NotBlank String |
getHostName()
The host name of the application instance.
|
String |
getId()
Returns the unique id of the instance.
|
@NotBlank String |
getInstanceId()
The instance id.
|
@NotBlank String |
getIpAddr()
The IP address of the instance.
|
LeaseInfo |
getLeaseInfo()
The
LeaseInfo instance. |
Map<String,String> |
getMetadata() |
int |
getPort()
The port of the application instance.
|
String |
getSecureHealthCheckUrl() |
int |
getSecurePort()
The secure port of the application instance.
|
String |
getSecureVipAddress() |
InstanceInfo.Status |
getStatus() |
String |
getStatusPageUrl() |
String |
getVipAddress() |
void |
setAppGroupName(String appGroupName)
Sets the application group name.
|
void |
setAsgName(String asgName)
Sets the Amazon auto scaling group name to use.
|
void |
setCountryId(int countryId)
Sets the country id.
|
void |
setDataCenterInfo(DataCenterInfo dataCenterInfo)
Sets the
DataCenterInfo. |
void |
setHealthCheckUrl(String healthCheckUrl)
Sets the health check URL.
|
void |
setHomePageUrl(String homePageUrl)
Sets the home page URL.
|
void |
setInstanceId(String instanceId)
Sets the instance ID.
|
void |
setIpAddr(String ipAddr)
Sets the IP address of the instance.
|
void |
setLeaseInfo(LeaseInfo leaseInfo)
Sets the
LeaseInfo. |
void |
setPort(int port)
Sets the port of the application instance.
|
void |
setSecureHealthCheckUrl(String secureHealthCheckUrl)
Sets the secure health check URL.
|
void |
setSecurePort(int securePort)
Sets the secure port of the application instance.
|
void |
setSecureVipAddress(String secureVipAddress)
Sets the Secure Virtual Host Address.
|
void |
setStatus(InstanceInfo.Status status)
Sets the application status.
|
void |
setStatusPageUrl(String statusPageUrl)
Sets the status page URL.
|
void |
setVipAddress(String vipAddress)
Sets the Virtual Host Address.
|
@NotBlank @NotBlank String getHostName()
String getId()
int getPort()
void setPort(int port)
port - The port of the application instanceint getSecurePort()
void setSecurePort(int securePort)
securePort - The secure port of the application instanceString getAppGroupName()
void setAppGroupName(String appGroupName)
appGroupName - The application group namevoid setInstanceId(String instanceId)
instanceId - The instance ID@Min(value=1L) @Min(value=1L) int getCountryId()
void setCountryId(int countryId)
countryId - The country id@NotBlank @NotBlank String getIpAddr()
void setIpAddr(String ipAddr)
ipAddr - The IP address of the instance@NotNull InstanceInfo.Status getStatus()
void setStatus(InstanceInfo.Status status)
status - The application status@NotNull @NotNull DataCenterInfo getDataCenterInfo()
DataCenterInfo instance.void setDataCenterInfo(DataCenterInfo dataCenterInfo)
DataCenterInfo.dataCenterInfo - The DataCenterInfovoid setLeaseInfo(LeaseInfo leaseInfo)
LeaseInfo.leaseInfo - The LeaseInfoString getStatusPageUrl()
void setStatusPageUrl(String statusPageUrl)
statusPageUrl - The status page URLString getHomePageUrl()
void setHomePageUrl(String homePageUrl)
homePageUrl - The home page URLString getHealthCheckUrl()
void setHealthCheckUrl(String healthCheckUrl)
healthCheckUrl - The health check URLString getVipAddress()
void setVipAddress(String vipAddress)
vipAddress - The Virtual Host AddressString getSecureVipAddress()
void setSecureVipAddress(String secureVipAddress)
secureVipAddress - The Secure Virtual Host AddressString getSecureHealthCheckUrl()
void setSecureHealthCheckUrl(String secureHealthCheckUrl)
secureHealthCheckUrl - The secure health check URLString getAsgName()
void setAsgName(String asgName)
asgName - The Amazon auto scaling group name to use