toValue method
Implementation
String toValue() {
switch (this) {
case S3ObjectCannedAcl.publicRead:
return 'PUBLIC_READ';
case S3ObjectCannedAcl.authenticatedRead:
return 'AUTHENTICATED_READ';
case S3ObjectCannedAcl.bucketOwnerRead:
return 'BUCKET_OWNER_READ';
case S3ObjectCannedAcl.bucketOwnerFullControl:
return 'BUCKET_OWNER_FULL_CONTROL';
}
}