toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Context.costAndUsage:
      return 'COST_AND_USAGE';
    case Context.reservations:
      return 'RESERVATIONS';
    case Context.savingsPlans:
      return 'SAVINGS_PLANS';
  }
}