S3Acl enum

Canned ACL values for S3 object uploads.

These map to the x-amz-acl header values supported by S3-compatible providers.

Example:

final acl = S3Acl.publicRead;
print(acl.value); // public-read
Inheritance
Available extensions

Values

private → const S3Acl
const S3Acl('private')
publicRead → const S3Acl
const S3Acl('public-read')
publicReadWrite → const S3Acl
const S3Acl('public-read-write')
awsExecRead → const S3Acl
const S3Acl('aws-exec-read')
authenticatedRead → const S3Acl
const S3Acl('authenticated-read')
bucketOwnerRead → const S3Acl
const S3Acl('bucket-owner-read')
bucketOwnerFullControl → const S3Acl
const S3Acl('bucket-owner-full-control')
logDeliveryWrite → const S3Acl
const S3Acl('log-delivery-write')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Header value sent to S3 for this canned ACL.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<S3Acl>
A constant List of the values in this enum, in order of their declaration.