BucketOwnershipControlsRule class

Constructors

BucketOwnershipControlsRule({required Input<String> objectOwnership})
Creates a new BucketOwnershipControlsRule. objectOwnership Object ownership. Valid values: BucketOwnerPreferred, ObjectWriter or BucketOwnerEnforced. BucketOwnerPreferred means objects uploaded to the bucket change ownership to the bucket owner if the objects are uploaded with the bucket-owner-full-control canned ACL. ObjectWriter means the uploading account will own the object if the object is uploaded with the bucket-owner-full-control canned ACL. BucketOwnerEnforced means the bucket owner automatically owns and has full control over every object in the bucket, and ACLs no longer affect permissions to data in the S3 bucket.
const
BucketOwnershipControlsRule.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
objectOwnership → Input<String>
Object ownership. Valid values: BucketOwnerPreferred, ObjectWriter or BucketOwnerEnforced. BucketOwnerPreferred means objects uploaded to the bucket change ownership to the bucket owner if the objects are uploaded with the bucket-owner-full-control canned ACL. ObjectWriter means the uploading account will own the object if the object is uploaded with the bucket-owner-full-control canned ACL. BucketOwnerEnforced means the bucket owner automatically owns and has full control over every object in the bucket, and ACLs no longer affect permissions to data in the S3 bucket.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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