public Set<Hardware> getHardwareFlavors(@Nullable final String locationUUID)
        throws FlexiantException {
        //noinspection unchecked
        return Hardware
            .from(this.getResources(ResourceType.PRODUCTOFFER, ProductOffer.class, locationUUID),
                this.getResources(ResourceType.CLUSTER, Cluster.class, null));
    }
public Set < Hardware > getHardwareFlavors ( @ Nullable final String locationUUID ) throws FlexiantException { return Hardware . from ( this . getResources ( ResourceType . PRODUCTOFFER , ProductOffer . class , locationUUID ) , this . getResources ( ResourceType . CLUSTER , Cluster . class , null ) ) ; }
Returns all hardware.

@param locationUUID optional location of the hardware flavor, if null it will be ignored.
@return all hardware.
@throws FlexiantException