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