leitstand-inventory-api/src/main/java/io/leitstand/inventory/service/ImageStatisticsElementGroupElementImageState.java
public Builder withElementRole(ElementRoleName elementRole) {
            assertNotInvalidated(getClass(), element);
            element.elementRole = elementRole;
            return this;
        }
/**
         * Sets element role.
         * @param elementRole the element role.
         * @return a reference to this builder to continue object creation.
         */
Sets element role.
@param elementRole the element role.
@return a reference to this builder to continue object creation.
Sets element role . @param elementRole the element role . @return a reference to this builder to continue object creation .
public Builder withElementRole(ElementRoleName elementRole) {
            assertNotInvalidated(getClass(), element);
            element.elementRole = elementRole;
            return this;
        }
public Builder withElementRole ( ElementRoleName elementRole ) { assertNotInvalidated ( getClass ( ) , element ) ; element . elementRole = elementRole ; return this ; }
Sets element role.
Sets element role .