/** * Fields left as null will be replaced with their default before the request * is made. * @param requestPath Defaults to {@value #DEFAULT_REQUEST_PATH} when null. * @param port Defaults to {@value #DEFAULT_PORT} when null. * @param checkIntervalSec Defaults to {@value #DEFAULT_CHECK_INTERVAL_SEC} when null. * @param timeoutSec Defaults to {@value #DEFAULT_TIMEOUT_SEC} when null. * @param unhealthyThreshold Defaults to {@value #DEFAULT_UNHEALTHY_THRESHOLD} when null. * @param healthyThreshold Defaults to {@value #DEFAULT_HEALTHY_THRESHOLD} when null. */ public HttpHealthCheckCreationOptions buildWithDefaults() { return HttpHealthCheckCreationOptions.createWithDefaults(host, requestPath, port, checkIntervalSec, timeoutSec, unhealthyThreshold, healthyThreshold, description); }
/** * Fields left as null will be replaced with their default before the request * is made. * @param requestPath Defaults to {@value #DEFAULT_REQUEST_PATH} when null. * @param port Defaults to {@value #DEFAULT_PORT} when null. * @param checkIntervalSec Defaults to {@value #DEFAULT_CHECK_INTERVAL_SEC} when null. * @param timeoutSec Defaults to {@value #DEFAULT_TIMEOUT_SEC} when null. * @param unhealthyThreshold Defaults to {@value #DEFAULT_UNHEALTHY_THRESHOLD} when null. * @param healthyThreshold Defaults to {@value #DEFAULT_HEALTHY_THRESHOLD} when null. */ public HttpHealthCheckCreationOptions buildWithDefaults() { return HttpHealthCheckCreationOptions.createWithDefaults(host, requestPath, port, checkIntervalSec, timeoutSec, unhealthyThreshold, healthyThreshold, description); }
/** * Fields left as null will be replaced with their default before the request * is made. * @param requestPath Defaults to {@value #DEFAULT_REQUEST_PATH} when null. * @param port Defaults to {@value #DEFAULT_PORT} when null. * @param checkIntervalSec Defaults to {@value #DEFAULT_CHECK_INTERVAL_SEC} when null. * @param timeoutSec Defaults to {@value #DEFAULT_TIMEOUT_SEC} when null. * @param unhealthyThreshold Defaults to {@value #DEFAULT_UNHEALTHY_THRESHOLD} when null. * @param healthyThreshold Defaults to {@value #DEFAULT_HEALTHY_THRESHOLD} when null. */ public HttpHealthCheckCreationOptions buildWithDefaults() { return HttpHealthCheckCreationOptions.createWithDefaults(host, requestPath, port, checkIntervalSec, timeoutSec, unhealthyThreshold, healthyThreshold, description); }
/** * Fields left as null will be replaced with their default before the request * is made. * @param requestPath Defaults to {@value #DEFAULT_REQUEST_PATH} when null. * @param port Defaults to {@value #DEFAULT_PORT} when null. * @param checkIntervalSec Defaults to {@value #DEFAULT_CHECK_INTERVAL_SEC} when null. * @param timeoutSec Defaults to {@value #DEFAULT_TIMEOUT_SEC} when null. * @param unhealthyThreshold Defaults to {@value #DEFAULT_UNHEALTHY_THRESHOLD} when null. * @param healthyThreshold Defaults to {@value #DEFAULT_HEALTHY_THRESHOLD} when null. */ public HttpHealthCheckCreationOptions buildWithDefaults() { return HttpHealthCheckCreationOptions.createWithDefaults(host, requestPath, port, checkIntervalSec, timeoutSec, unhealthyThreshold, healthyThreshold, description); }