toValue method
Implementation
String toValue() {
switch (this) {
case S3ObjectLockMode.compliance:
return 'COMPLIANCE';
case S3ObjectLockMode.governance:
return 'GOVERNANCE';
}
}
String toValue() {
switch (this) {
case S3ObjectLockMode.compliance:
return 'COMPLIANCE';
case S3ObjectLockMode.governance:
return 'GOVERNANCE';
}
}