toValue method
Implementation
String toValue() {
switch (this) {
case ObjectCannedACL.private:
return 'private';
case ObjectCannedACL.publicRead:
return 'public-read';
case ObjectCannedACL.publicReadWrite:
return 'public-read-write';
case ObjectCannedACL.authenticatedRead:
return 'authenticated-read';
case ObjectCannedACL.awsExecRead:
return 'aws-exec-read';
case ObjectCannedACL.bucketOwnerRead:
return 'bucket-owner-read';
case ObjectCannedACL.bucketOwnerFullControl:
return 'bucket-owner-full-control';
}
}