toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BucketAccelerateStatus.enabled:
      return 'Enabled';
    case BucketAccelerateStatus.suspended:
      return 'Suspended';
  }
}