toValue method

String toValue()

Implementation

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