public void setContainerHealthCheckTimeout(@Nullable Long timeout) {
    if (config.Healthcheck == null) {
      config.Healthcheck = new HealthCheckObjectTemplate();
    }
    Preconditions.checkNotNull(config.Healthcheck).Timeout = timeout;
  }
Sets timeout on HealthCheck, creates an empty HealthCheck object if necessary.

@param timeout the timeout to configure
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java