toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AppInstanceType.system:
      return 'system';
    case AppInstanceType.mlT3Micro:
      return 'ml.t3.micro';
    case AppInstanceType.mlT3Small:
      return 'ml.t3.small';
    case AppInstanceType.mlT3Medium:
      return 'ml.t3.medium';
    case AppInstanceType.mlT3Large:
      return 'ml.t3.large';
    case AppInstanceType.mlT3Xlarge:
      return 'ml.t3.xlarge';
    case AppInstanceType.mlT3_2xlarge:
      return 'ml.t3.2xlarge';
    case AppInstanceType.mlM5Large:
      return 'ml.m5.large';
    case AppInstanceType.mlM5Xlarge:
      return 'ml.m5.xlarge';
    case AppInstanceType.mlM5_2xlarge:
      return 'ml.m5.2xlarge';
    case AppInstanceType.mlM5_4xlarge:
      return 'ml.m5.4xlarge';
    case AppInstanceType.mlM5_8xlarge:
      return 'ml.m5.8xlarge';
    case AppInstanceType.mlM5_12xlarge:
      return 'ml.m5.12xlarge';
    case AppInstanceType.mlM5_16xlarge:
      return 'ml.m5.16xlarge';
    case AppInstanceType.mlM5_24xlarge:
      return 'ml.m5.24xlarge';
    case AppInstanceType.mlC5Large:
      return 'ml.c5.large';
    case AppInstanceType.mlC5Xlarge:
      return 'ml.c5.xlarge';
    case AppInstanceType.mlC5_2xlarge:
      return 'ml.c5.2xlarge';
    case AppInstanceType.mlC5_4xlarge:
      return 'ml.c5.4xlarge';
    case AppInstanceType.mlC5_9xlarge:
      return 'ml.c5.9xlarge';
    case AppInstanceType.mlC5_12xlarge:
      return 'ml.c5.12xlarge';
    case AppInstanceType.mlC5_18xlarge:
      return 'ml.c5.18xlarge';
    case AppInstanceType.mlC5_24xlarge:
      return 'ml.c5.24xlarge';
    case AppInstanceType.mlP3_2xlarge:
      return 'ml.p3.2xlarge';
    case AppInstanceType.mlP3_8xlarge:
      return 'ml.p3.8xlarge';
    case AppInstanceType.mlP3_16xlarge:
      return 'ml.p3.16xlarge';
    case AppInstanceType.mlG4dnXlarge:
      return 'ml.g4dn.xlarge';
    case AppInstanceType.mlG4dn_2xlarge:
      return 'ml.g4dn.2xlarge';
    case AppInstanceType.mlG4dn_4xlarge:
      return 'ml.g4dn.4xlarge';
    case AppInstanceType.mlG4dn_8xlarge:
      return 'ml.g4dn.8xlarge';
    case AppInstanceType.mlG4dn_12xlarge:
      return 'ml.g4dn.12xlarge';
    case AppInstanceType.mlG4dn_16xlarge:
      return 'ml.g4dn.16xlarge';
  }
}