Struct aws_sdk_glue::model::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
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
sourceimpl 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.
sourceimpl S3Encryption
impl S3Encryption
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3Encryption
Trait Implementations
sourceimpl Clone for S3Encryption
impl Clone for S3Encryption
sourcefn clone(&self) -> S3Encryption
fn clone(&self) -> S3Encryption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for S3Encryption
impl Debug for S3Encryption
sourceimpl PartialEq<S3Encryption> for S3Encryption
impl PartialEq<S3Encryption> for S3Encryption
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &S3Encryption) -> bool
fn ne(&self, other: &S3Encryption) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more