Struct aws_sdk_s3::model::Encryption
source · #[non_exhaustive]pub struct Encryption { /* private fields */ }
Expand description
Contains the type of server-side encryption used.
Implementations§
source§impl Encryption
impl Encryption
sourcepub fn encryption_type(&self) -> Option<&ServerSideEncryption>
pub fn encryption_type(&self) -> Option<&ServerSideEncryption>
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
If the encryption type is aws:kms
, this optional value specifies the ID of the symmetric customer managed key to use for encryption of job results. Amazon S3 only supports symmetric keys. For more information, see Using symmetric and asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
sourcepub fn kms_context(&self) -> Option<&str>
pub fn kms_context(&self) -> Option<&str>
If the encryption type is aws:kms
, this optional value can be used to specify the encryption context for the restore results.
source§impl Encryption
impl Encryption
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Encryption
.
Trait Implementations§
source§impl Clone for Encryption
impl Clone for Encryption
source§fn clone(&self) -> Encryption
fn clone(&self) -> Encryption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more