toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BucketCannedACL.private:
      return 'private';
    case BucketCannedACL.publicRead:
      return 'public-read';
    case BucketCannedACL.publicReadWrite:
      return 'public-read-write';
    case BucketCannedACL.authenticatedRead:
      return 'authenticated-read';
  }
}