ServerSideEncryptionRule class

Specifies the default server-side encryption configuration.

Constructors

ServerSideEncryptionRule({ServerSideEncryptionByDefault? applyServerSideEncryptionByDefault, bool? bucketKeyEnabled})
ServerSideEncryptionRule.fromXml(XmlElement elem)
factory

Properties

applyServerSideEncryptionByDefault ServerSideEncryptionByDefault?
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
final
bucketKeyEnabled bool?
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled element to true causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.
final
hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited
toXml(String elemName, {List<XmlAttribute>? attributes}) → XmlElement

Operators

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