Struct aws_sdk_s3::types::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 encryption customer managed key to use for encryption of job results. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS 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() -> EncryptionBuilder
pub fn builder() -> EncryptionBuilder
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 moresource§impl Debug for Encryption
impl Debug for Encryption
source§impl PartialEq<Encryption> for Encryption
impl PartialEq<Encryption> for Encryption
source§fn eq(&self, other: &Encryption) -> bool
fn eq(&self, other: &Encryption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.