toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SavingsPlanRateServiceCode.amazonEC2:
      return 'AmazonEC2';
    case SavingsPlanRateServiceCode.amazonECS:
      return 'AmazonECS';
    case SavingsPlanRateServiceCode.awsLambda:
      return 'AWSLambda';
  }
}