class ResourceProfile implements Serializable {

	@VisibleForTesting
	static ResourceProfile fromResourceSpec(ResourceSpec resourceSpec) {
		return fromResourceSpec(resourceSpec, MemorySize.ZERO);
	}

	private  ResourceProfile(
			final Resource cpuCores,
			final MemorySize taskHeapMemory,
			final MemorySize taskOffHeapMemory,
			final MemorySize managedMemory,
			final MemorySize networkMemory,
			final Map<String, Resource> extendedResources);
	private  ResourceProfile();

}