code: public static Builder builder(ServiceMetadata serviceMetadata) {
      checkNotNull(serviceMetadata, "serviceMetadata: null");
      ServerDto server = ServerDto.builder()
          .setHostName(serviceMetadata.getHostName())
          .setStartupDateTime(serviceMetadata.getStartupTime())
          .build();
      BuildDto build = BuildDto.builder()
          .setArtifactName(serviceMetadata.getBuildInfo().getArtifactId())
          .setVersion(serviceMetadata.getBuildInfo().getVersion())
          .setBuildDateTime(serviceMetadata.getBuildInfo().getBuildDateTime())
          .build();
      return new AutoValue_HealthDto.Builder()
          .setServer(server)
          .setbuild(build)
          .setMessage(Optional.empty())
          .setDependencies(Optional.empty());
    }
docs: Creates a builder for {@code HealthDto} initialized with the properties of the given metadata.