presto-spi/src/main/java/io/prestosql/spi/memory/MemoryPoolId.java/MemoryPoolId/MemoryPoolId
class MemoryPoolId:    @JsonCreator
    public MemoryPoolId(String id)
    {
        requireNonNull(id, "id is null");
        if (id.isEmpty()) {
            throw new IllegalArgumentException("id is empty");
        }
        this.id = id;
    }