@Override
	public boolean equals(Object o) {
		if (this == o) {
			return true;
		}
		if (o == null || getClass() != o.getClass()) {
			return false;
		}
		EurekaInstanceConfigBean that = (EurekaInstanceConfigBean) o;
		return Objects.equals(hostInfo, that.hostInfo) && Objects.equals(inetUtils, that.inetUtils)
				&& Objects.equals(appname, that.appname) && Objects.equals(appGroupName, that.appGroupName)
				&& instanceEnabledOnit == that.instanceEnabledOnit && nonSecurePort == that.nonSecurePort
				&& securePort == that.securePort && nonSecurePortEnabled == that.nonSecurePortEnabled
				&& securePortEnabled == that.securePortEnabled
				&& leaseRenewalIntervalInSeconds == that.leaseRenewalIntervalInSeconds
				&& leaseExpirationDurationInSeconds == that.leaseExpirationDurationInSeconds
				&& Objects.equals(virtualHostName, that.virtualHostName) && Objects.equals(instanceId, that.instanceId)
				&& Objects.equals(secureVirtualHostName, that.secureVirtualHostName)
				&& Objects.equals(aSGName, that.aSGName) && Objects.equals(metadataMap, that.metadataMap)
				&& Objects.equals(dataCenterInfo, that.dataCenterInfo) && Objects.equals(ipAddress, that.ipAddress)
				&& Objects.equals(statusPageUrlPath, that.statusPageUrlPath)
				&& Objects.equals(statusPageUrl, that.statusPageUrl)
				&& Objects.equals(homePageUrlPath, that.homePageUrlPath)
				&& Objects.equals(homePageUrl, that.homePageUrl)
				&& Objects.equals(healthCheckUrlPath, that.healthCheckUrlPath)
				&& Objects.equals(healthCheckUrl, that.healthCheckUrl)
				&& Objects.equals(secureHealthCheckUrl, that.secureHealthCheckUrl)
				&& Objects.equals(namespace, that.namespace) && Objects.equals(hostname, that.hostname)
				&& preferIpAddress == that.preferIpAddress && Objects.equals(initialStatus, that.initialStatus)
				&& Arrays.equals(defaultAddressResolutionOrder, that.defaultAddressResolutionOrder)
				&& asyncClientInitialization == that.asyncClientInitialization
				&& Objects.equals(environment, that.environment);
	}
Initial status to register with remote Eureka server.
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java