toS3ObjectLockLegalHoldStatus method
Implementation
S3ObjectLockLegalHoldStatus toS3ObjectLockLegalHoldStatus() {
switch (this) {
case 'OFF':
return S3ObjectLockLegalHoldStatus.off;
case 'ON':
return S3ObjectLockLegalHoldStatus.on;
}
throw Exception('$this is not known in enum S3ObjectLockLegalHoldStatus');
}