Struct aws_sdk_glue::types::S3Encryption  
source · #[non_exhaustive]pub struct S3Encryption {
    pub s3_encryption_mode: Option<S3EncryptionMode>,
    pub kms_key_arn: Option<String>,
}Expand description
Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.s3_encryption_mode: Option<S3EncryptionMode>The encryption mode to use for Amazon S3 data.
kms_key_arn: Option<String>The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
Implementations§
source§impl S3Encryption
 
impl S3Encryption
sourcepub fn s3_encryption_mode(&self) -> Option<&S3EncryptionMode>
 
pub fn s3_encryption_mode(&self) -> Option<&S3EncryptionMode>
The encryption mode to use for Amazon S3 data.
sourcepub fn kms_key_arn(&self) -> Option<&str>
 
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
source§impl S3Encryption
 
impl S3Encryption
sourcepub fn builder() -> S3EncryptionBuilder
 
pub fn builder() -> S3EncryptionBuilder
Creates a new builder-style object to manufacture S3Encryption.
Trait Implementations§
source§impl Clone for S3Encryption
 
impl Clone for S3Encryption
source§fn clone(&self) -> S3Encryption
 
fn clone(&self) -> S3Encryption
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 S3Encryption
 
impl Debug for S3Encryption
source§impl PartialEq for S3Encryption
 
impl PartialEq for S3Encryption
source§fn eq(&self, other: &S3Encryption) -> bool
 
fn eq(&self, other: &S3Encryption) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3Encryption
Auto Trait Implementations§
impl RefUnwindSafe for S3Encryption
impl Send for S3Encryption
impl Sync for S3Encryption
impl Unpin for S3Encryption
impl UnwindSafe for S3Encryption
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.