toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case S3ObjectLockLegalHoldStatus.off:
      return 'OFF';
    case S3ObjectLockLegalHoldStatus.on:
      return 'ON';
  }
}