toValue method

String toValue()

Implementation

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