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