toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GameServerGroupInstanceType.c4Large:
      return 'c4.large';
    case GameServerGroupInstanceType.c4Xlarge:
      return 'c4.xlarge';
    case GameServerGroupInstanceType.c4_2xlarge:
      return 'c4.2xlarge';
    case GameServerGroupInstanceType.c4_4xlarge:
      return 'c4.4xlarge';
    case GameServerGroupInstanceType.c4_8xlarge:
      return 'c4.8xlarge';
    case GameServerGroupInstanceType.c5Large:
      return 'c5.large';
    case GameServerGroupInstanceType.c5Xlarge:
      return 'c5.xlarge';
    case GameServerGroupInstanceType.c5_2xlarge:
      return 'c5.2xlarge';
    case GameServerGroupInstanceType.c5_4xlarge:
      return 'c5.4xlarge';
    case GameServerGroupInstanceType.c5_9xlarge:
      return 'c5.9xlarge';
    case GameServerGroupInstanceType.c5_12xlarge:
      return 'c5.12xlarge';
    case GameServerGroupInstanceType.c5_18xlarge:
      return 'c5.18xlarge';
    case GameServerGroupInstanceType.c5_24xlarge:
      return 'c5.24xlarge';
    case GameServerGroupInstanceType.r4Large:
      return 'r4.large';
    case GameServerGroupInstanceType.r4Xlarge:
      return 'r4.xlarge';
    case GameServerGroupInstanceType.r4_2xlarge:
      return 'r4.2xlarge';
    case GameServerGroupInstanceType.r4_4xlarge:
      return 'r4.4xlarge';
    case GameServerGroupInstanceType.r4_8xlarge:
      return 'r4.8xlarge';
    case GameServerGroupInstanceType.r4_16xlarge:
      return 'r4.16xlarge';
    case GameServerGroupInstanceType.r5Large:
      return 'r5.large';
    case GameServerGroupInstanceType.r5Xlarge:
      return 'r5.xlarge';
    case GameServerGroupInstanceType.r5_2xlarge:
      return 'r5.2xlarge';
    case GameServerGroupInstanceType.r5_4xlarge:
      return 'r5.4xlarge';
    case GameServerGroupInstanceType.r5_8xlarge:
      return 'r5.8xlarge';
    case GameServerGroupInstanceType.r5_12xlarge:
      return 'r5.12xlarge';
    case GameServerGroupInstanceType.r5_16xlarge:
      return 'r5.16xlarge';
    case GameServerGroupInstanceType.r5_24xlarge:
      return 'r5.24xlarge';
    case GameServerGroupInstanceType.m4Large:
      return 'm4.large';
    case GameServerGroupInstanceType.m4Xlarge:
      return 'm4.xlarge';
    case GameServerGroupInstanceType.m4_2xlarge:
      return 'm4.2xlarge';
    case GameServerGroupInstanceType.m4_4xlarge:
      return 'm4.4xlarge';
    case GameServerGroupInstanceType.m4_10xlarge:
      return 'm4.10xlarge';
    case GameServerGroupInstanceType.m5Large:
      return 'm5.large';
    case GameServerGroupInstanceType.m5Xlarge:
      return 'm5.xlarge';
    case GameServerGroupInstanceType.m5_2xlarge:
      return 'm5.2xlarge';
    case GameServerGroupInstanceType.m5_4xlarge:
      return 'm5.4xlarge';
    case GameServerGroupInstanceType.m5_8xlarge:
      return 'm5.8xlarge';
    case GameServerGroupInstanceType.m5_12xlarge:
      return 'm5.12xlarge';
    case GameServerGroupInstanceType.m5_16xlarge:
      return 'm5.16xlarge';
    case GameServerGroupInstanceType.m5_24xlarge:
      return 'm5.24xlarge';
  }
}