toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProductionVariantAcceleratorType.mlEia1Medium:
      return 'ml.eia1.medium';
    case ProductionVariantAcceleratorType.mlEia1Large:
      return 'ml.eia1.large';
    case ProductionVariantAcceleratorType.mlEia1Xlarge:
      return 'ml.eia1.xlarge';
    case ProductionVariantAcceleratorType.mlEia2Medium:
      return 'ml.eia2.medium';
    case ProductionVariantAcceleratorType.mlEia2Large:
      return 'ml.eia2.large';
    case ProductionVariantAcceleratorType.mlEia2Xlarge:
      return 'ml.eia2.xlarge';
  }
}