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