toValue method
Implementation
String toValue() {
  switch (this) {
    case CRAllocationStrategy.bestFit:
      return 'BEST_FIT';
    case CRAllocationStrategy.bestFitProgressive:
      return 'BEST_FIT_PROGRESSIVE';
    case CRAllocationStrategy.spotCapacityOptimized:
      return 'SPOT_CAPACITY_OPTIMIZED';
  }
}