public Builder mass(double receivedMass) {
            if (receivedMass < 0) {
                log.warn("Wrong Mass. receivedMass ={}", receivedMass);
                throw new IllegalArgumentException("Mass must be > 0 Received value =" + receivedMass);
            }
            if (receivedMass > 10) {
                planetClass = GIANT;
            }
            if (receivedMass <= 10) {
                planetClass = EARTHSIZED;
            }
            if (receivedMass <= 0.1) {
                planetClass = DWARF;
            }
            if (receivedMass <= 0.01) {
                planetClass = KUIPERBELT;
            }
            this.mass = receivedMass;
            return this;
        }