toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReservedInstancePaymentOption.allUpfront:
      return 'ALL_UPFRONT';
    case ReservedInstancePaymentOption.partialUpfront:
      return 'PARTIAL_UPFRONT';
    case ReservedInstancePaymentOption.noUpfront:
      return 'NO_UPFRONT';
  }
}