toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProcessingInstanceType.mlT3Medium:
      return 'ml.t3.medium';
    case ProcessingInstanceType.mlT3Large:
      return 'ml.t3.large';
    case ProcessingInstanceType.mlT3Xlarge:
      return 'ml.t3.xlarge';
    case ProcessingInstanceType.mlT3_2xlarge:
      return 'ml.t3.2xlarge';
    case ProcessingInstanceType.mlM4Xlarge:
      return 'ml.m4.xlarge';
    case ProcessingInstanceType.mlM4_2xlarge:
      return 'ml.m4.2xlarge';
    case ProcessingInstanceType.mlM4_4xlarge:
      return 'ml.m4.4xlarge';
    case ProcessingInstanceType.mlM4_10xlarge:
      return 'ml.m4.10xlarge';
    case ProcessingInstanceType.mlM4_16xlarge:
      return 'ml.m4.16xlarge';
    case ProcessingInstanceType.mlC4Xlarge:
      return 'ml.c4.xlarge';
    case ProcessingInstanceType.mlC4_2xlarge:
      return 'ml.c4.2xlarge';
    case ProcessingInstanceType.mlC4_4xlarge:
      return 'ml.c4.4xlarge';
    case ProcessingInstanceType.mlC4_8xlarge:
      return 'ml.c4.8xlarge';
    case ProcessingInstanceType.mlP2Xlarge:
      return 'ml.p2.xlarge';
    case ProcessingInstanceType.mlP2_8xlarge:
      return 'ml.p2.8xlarge';
    case ProcessingInstanceType.mlP2_16xlarge:
      return 'ml.p2.16xlarge';
    case ProcessingInstanceType.mlP3_2xlarge:
      return 'ml.p3.2xlarge';
    case ProcessingInstanceType.mlP3_8xlarge:
      return 'ml.p3.8xlarge';
    case ProcessingInstanceType.mlP3_16xlarge:
      return 'ml.p3.16xlarge';
    case ProcessingInstanceType.mlC5Xlarge:
      return 'ml.c5.xlarge';
    case ProcessingInstanceType.mlC5_2xlarge:
      return 'ml.c5.2xlarge';
    case ProcessingInstanceType.mlC5_4xlarge:
      return 'ml.c5.4xlarge';
    case ProcessingInstanceType.mlC5_9xlarge:
      return 'ml.c5.9xlarge';
    case ProcessingInstanceType.mlC5_18xlarge:
      return 'ml.c5.18xlarge';
    case ProcessingInstanceType.mlM5Large:
      return 'ml.m5.large';
    case ProcessingInstanceType.mlM5Xlarge:
      return 'ml.m5.xlarge';
    case ProcessingInstanceType.mlM5_2xlarge:
      return 'ml.m5.2xlarge';
    case ProcessingInstanceType.mlM5_4xlarge:
      return 'ml.m5.4xlarge';
    case ProcessingInstanceType.mlM5_12xlarge:
      return 'ml.m5.12xlarge';
    case ProcessingInstanceType.mlM5_24xlarge:
      return 'ml.m5.24xlarge';
    case ProcessingInstanceType.mlR5Large:
      return 'ml.r5.large';
    case ProcessingInstanceType.mlR5Xlarge:
      return 'ml.r5.xlarge';
    case ProcessingInstanceType.mlR5_2xlarge:
      return 'ml.r5.2xlarge';
    case ProcessingInstanceType.mlR5_4xlarge:
      return 'ml.r5.4xlarge';
    case ProcessingInstanceType.mlR5_8xlarge:
      return 'ml.r5.8xlarge';
    case ProcessingInstanceType.mlR5_12xlarge:
      return 'ml.r5.12xlarge';
    case ProcessingInstanceType.mlR5_16xlarge:
      return 'ml.r5.16xlarge';
    case ProcessingInstanceType.mlR5_24xlarge:
      return 'ml.r5.24xlarge';
  }
}