toValue method

String toValue()

Implementation

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