toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SavingsPlanRatePropertyKey.region:
      return 'region';
    case SavingsPlanRatePropertyKey.instanceType:
      return 'instanceType';
    case SavingsPlanRatePropertyKey.instanceFamily:
      return 'instanceFamily';
    case SavingsPlanRatePropertyKey.productDescription:
      return 'productDescription';
    case SavingsPlanRatePropertyKey.tenancy:
      return 'tenancy';
  }
}