code: public Optional<SingularitySlave> getSlave(String slaveId) {
      final Function<String, String> requestUri = (host) -> String.format(SLAVE_DETAIL_FORMAT, getApiBase(host), slaveId);
  
      return getSingle(requestUri, "slave", slaveId, SingularitySlave.class);
    }
docs: Retrieve a single slave by ID
  
  @param slaveId
  The slave ID to search for
  @return
  A {@link SingularitySlave}