toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ComputeType.buildGeneral1Small:
      return 'BUILD_GENERAL1_SMALL';
    case ComputeType.buildGeneral1Medium:
      return 'BUILD_GENERAL1_MEDIUM';
    case ComputeType.buildGeneral1Large:
      return 'BUILD_GENERAL1_LARGE';
  }
}