toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProductionVariantInstanceType.mlT2Medium:
      return 'ml.t2.medium';
    case ProductionVariantInstanceType.mlT2Large:
      return 'ml.t2.large';
    case ProductionVariantInstanceType.mlT2Xlarge:
      return 'ml.t2.xlarge';
    case ProductionVariantInstanceType.mlT2_2xlarge:
      return 'ml.t2.2xlarge';
    case ProductionVariantInstanceType.mlM4Xlarge:
      return 'ml.m4.xlarge';
    case ProductionVariantInstanceType.mlM4_2xlarge:
      return 'ml.m4.2xlarge';
    case ProductionVariantInstanceType.mlM4_4xlarge:
      return 'ml.m4.4xlarge';
    case ProductionVariantInstanceType.mlM4_10xlarge:
      return 'ml.m4.10xlarge';
    case ProductionVariantInstanceType.mlM4_16xlarge:
      return 'ml.m4.16xlarge';
    case ProductionVariantInstanceType.mlM5Large:
      return 'ml.m5.large';
    case ProductionVariantInstanceType.mlM5Xlarge:
      return 'ml.m5.xlarge';
    case ProductionVariantInstanceType.mlM5_2xlarge:
      return 'ml.m5.2xlarge';
    case ProductionVariantInstanceType.mlM5_4xlarge:
      return 'ml.m5.4xlarge';
    case ProductionVariantInstanceType.mlM5_12xlarge:
      return 'ml.m5.12xlarge';
    case ProductionVariantInstanceType.mlM5_24xlarge:
      return 'ml.m5.24xlarge';
    case ProductionVariantInstanceType.mlM5dLarge:
      return 'ml.m5d.large';
    case ProductionVariantInstanceType.mlM5dXlarge:
      return 'ml.m5d.xlarge';
    case ProductionVariantInstanceType.mlM5d_2xlarge:
      return 'ml.m5d.2xlarge';
    case ProductionVariantInstanceType.mlM5d_4xlarge:
      return 'ml.m5d.4xlarge';
    case ProductionVariantInstanceType.mlM5d_12xlarge:
      return 'ml.m5d.12xlarge';
    case ProductionVariantInstanceType.mlM5d_24xlarge:
      return 'ml.m5d.24xlarge';
    case ProductionVariantInstanceType.mlC4Large:
      return 'ml.c4.large';
    case ProductionVariantInstanceType.mlC4Xlarge:
      return 'ml.c4.xlarge';
    case ProductionVariantInstanceType.mlC4_2xlarge:
      return 'ml.c4.2xlarge';
    case ProductionVariantInstanceType.mlC4_4xlarge:
      return 'ml.c4.4xlarge';
    case ProductionVariantInstanceType.mlC4_8xlarge:
      return 'ml.c4.8xlarge';
    case ProductionVariantInstanceType.mlP2Xlarge:
      return 'ml.p2.xlarge';
    case ProductionVariantInstanceType.mlP2_8xlarge:
      return 'ml.p2.8xlarge';
    case ProductionVariantInstanceType.mlP2_16xlarge:
      return 'ml.p2.16xlarge';
    case ProductionVariantInstanceType.mlP3_2xlarge:
      return 'ml.p3.2xlarge';
    case ProductionVariantInstanceType.mlP3_8xlarge:
      return 'ml.p3.8xlarge';
    case ProductionVariantInstanceType.mlP3_16xlarge:
      return 'ml.p3.16xlarge';
    case ProductionVariantInstanceType.mlC5Large:
      return 'ml.c5.large';
    case ProductionVariantInstanceType.mlC5Xlarge:
      return 'ml.c5.xlarge';
    case ProductionVariantInstanceType.mlC5_2xlarge:
      return 'ml.c5.2xlarge';
    case ProductionVariantInstanceType.mlC5_4xlarge:
      return 'ml.c5.4xlarge';
    case ProductionVariantInstanceType.mlC5_9xlarge:
      return 'ml.c5.9xlarge';
    case ProductionVariantInstanceType.mlC5_18xlarge:
      return 'ml.c5.18xlarge';
    case ProductionVariantInstanceType.mlC5dLarge:
      return 'ml.c5d.large';
    case ProductionVariantInstanceType.mlC5dXlarge:
      return 'ml.c5d.xlarge';
    case ProductionVariantInstanceType.mlC5d_2xlarge:
      return 'ml.c5d.2xlarge';
    case ProductionVariantInstanceType.mlC5d_4xlarge:
      return 'ml.c5d.4xlarge';
    case ProductionVariantInstanceType.mlC5d_9xlarge:
      return 'ml.c5d.9xlarge';
    case ProductionVariantInstanceType.mlC5d_18xlarge:
      return 'ml.c5d.18xlarge';
    case ProductionVariantInstanceType.mlG4dnXlarge:
      return 'ml.g4dn.xlarge';
    case ProductionVariantInstanceType.mlG4dn_2xlarge:
      return 'ml.g4dn.2xlarge';
    case ProductionVariantInstanceType.mlG4dn_4xlarge:
      return 'ml.g4dn.4xlarge';
    case ProductionVariantInstanceType.mlG4dn_8xlarge:
      return 'ml.g4dn.8xlarge';
    case ProductionVariantInstanceType.mlG4dn_12xlarge:
      return 'ml.g4dn.12xlarge';
    case ProductionVariantInstanceType.mlG4dn_16xlarge:
      return 'ml.g4dn.16xlarge';
    case ProductionVariantInstanceType.mlR5Large:
      return 'ml.r5.large';
    case ProductionVariantInstanceType.mlR5Xlarge:
      return 'ml.r5.xlarge';
    case ProductionVariantInstanceType.mlR5_2xlarge:
      return 'ml.r5.2xlarge';
    case ProductionVariantInstanceType.mlR5_4xlarge:
      return 'ml.r5.4xlarge';
    case ProductionVariantInstanceType.mlR5_12xlarge:
      return 'ml.r5.12xlarge';
    case ProductionVariantInstanceType.mlR5_24xlarge:
      return 'ml.r5.24xlarge';
    case ProductionVariantInstanceType.mlR5dLarge:
      return 'ml.r5d.large';
    case ProductionVariantInstanceType.mlR5dXlarge:
      return 'ml.r5d.xlarge';
    case ProductionVariantInstanceType.mlR5d_2xlarge:
      return 'ml.r5d.2xlarge';
    case ProductionVariantInstanceType.mlR5d_4xlarge:
      return 'ml.r5d.4xlarge';
    case ProductionVariantInstanceType.mlR5d_12xlarge:
      return 'ml.r5d.12xlarge';
    case ProductionVariantInstanceType.mlR5d_24xlarge:
      return 'ml.r5d.24xlarge';
    case ProductionVariantInstanceType.mlInf1Xlarge:
      return 'ml.inf1.xlarge';
    case ProductionVariantInstanceType.mlInf1_2xlarge:
      return 'ml.inf1.2xlarge';
    case ProductionVariantInstanceType.mlInf1_6xlarge:
      return 'ml.inf1.6xlarge';
    case ProductionVariantInstanceType.mlInf1_24xlarge:
      return 'ml.inf1.24xlarge';
  }
}