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