docs: public HashConfigurationBuilder numSegments(int numSegments) {
        if (numSegments < 1) throw new IllegalArgumentException("numSegments cannot be less than 1");
        attributes.attribute(NUM_SEGMENTS).set(numSegments);
        return this;
     }