toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReturnConsumedCapacity.indexes:
      return 'INDEXES';
    case ReturnConsumedCapacity.total:
      return 'TOTAL';
    case ReturnConsumedCapacity.none:
      return 'NONE';
  }
}