InstanceInfo build() {
        final LeaseInfo leaseInfo = new LeaseInfo(renewalIntervalSeconds, leaseDurationSeconds);
        return new InstanceInfo(instanceId, appName, appGroupName, hostname, ipAddr, vipAddress,
                                secureVipAddress, port, securePort, InstanceStatus.UP,
                                homePageUrlPath, homePageUrl, statusPageUrlPath, statusPageUrl,
                                healthCheckUrlPath, healthCheckUrl, secureHealthCheckUrl,
                                new DataCenterInfo(dataCenterName, dataCenterMetadata), leaseInfo,
                                metadata);
    }
Returns a newly-created {@link InstanceInfo} based on the properties of this builder.
eureka/src/main/java/com/linecorp/armeria/server/eureka/InstanceInfoBuilder.java