toValue method
Implementation
String toValue() {
switch (this) {
case InstanceType.mlT2Medium:
return 'ml.t2.medium';
case InstanceType.mlT2Large:
return 'ml.t2.large';
case InstanceType.mlT2Xlarge:
return 'ml.t2.xlarge';
case InstanceType.mlT2_2xlarge:
return 'ml.t2.2xlarge';
case InstanceType.mlT3Medium:
return 'ml.t3.medium';
case InstanceType.mlT3Large:
return 'ml.t3.large';
case InstanceType.mlT3Xlarge:
return 'ml.t3.xlarge';
case InstanceType.mlT3_2xlarge:
return 'ml.t3.2xlarge';
case InstanceType.mlM4Xlarge:
return 'ml.m4.xlarge';
case InstanceType.mlM4_2xlarge:
return 'ml.m4.2xlarge';
case InstanceType.mlM4_4xlarge:
return 'ml.m4.4xlarge';
case InstanceType.mlM4_10xlarge:
return 'ml.m4.10xlarge';
case InstanceType.mlM4_16xlarge:
return 'ml.m4.16xlarge';
case InstanceType.mlM5Xlarge:
return 'ml.m5.xlarge';
case InstanceType.mlM5_2xlarge:
return 'ml.m5.2xlarge';
case InstanceType.mlM5_4xlarge:
return 'ml.m5.4xlarge';
case InstanceType.mlM5_12xlarge:
return 'ml.m5.12xlarge';
case InstanceType.mlM5_24xlarge:
return 'ml.m5.24xlarge';
case InstanceType.mlC4Xlarge:
return 'ml.c4.xlarge';
case InstanceType.mlC4_2xlarge:
return 'ml.c4.2xlarge';
case InstanceType.mlC4_4xlarge:
return 'ml.c4.4xlarge';
case InstanceType.mlC4_8xlarge:
return 'ml.c4.8xlarge';
case InstanceType.mlC5Xlarge:
return 'ml.c5.xlarge';
case InstanceType.mlC5_2xlarge:
return 'ml.c5.2xlarge';
case InstanceType.mlC5_4xlarge:
return 'ml.c5.4xlarge';
case InstanceType.mlC5_9xlarge:
return 'ml.c5.9xlarge';
case InstanceType.mlC5_18xlarge:
return 'ml.c5.18xlarge';
case InstanceType.mlC5dXlarge:
return 'ml.c5d.xlarge';
case InstanceType.mlC5d_2xlarge:
return 'ml.c5d.2xlarge';
case InstanceType.mlC5d_4xlarge:
return 'ml.c5d.4xlarge';
case InstanceType.mlC5d_9xlarge:
return 'ml.c5d.9xlarge';
case InstanceType.mlC5d_18xlarge:
return 'ml.c5d.18xlarge';
case InstanceType.mlP2Xlarge:
return 'ml.p2.xlarge';
case InstanceType.mlP2_8xlarge:
return 'ml.p2.8xlarge';
case InstanceType.mlP2_16xlarge:
return 'ml.p2.16xlarge';
case InstanceType.mlP3_2xlarge:
return 'ml.p3.2xlarge';
case InstanceType.mlP3_8xlarge:
return 'ml.p3.8xlarge';
case InstanceType.mlP3_16xlarge:
return 'ml.p3.16xlarge';
}
}