#[non_exhaustive]pub struct ExportServerSideEncryption {
pub kms_key_arn: Option<String>,
pub type: Option<ServerSideEncryptionTypes>,
}Expand description
Encryption configuration of the export job. Includes the encryption type in addition to the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption. type.
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.kms_key_arn: Option<String>The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
type: Option<ServerSideEncryptionTypes>The type of server side encryption used for encrypting the objects in Amazon S3.
Implementations
sourceimpl ExportServerSideEncryption
impl ExportServerSideEncryption
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
sourcepub fn type(&self) -> Option<&ServerSideEncryptionTypes>
pub fn type(&self) -> Option<&ServerSideEncryptionTypes>
The type of server side encryption used for encrypting the objects in Amazon S3.
sourceimpl ExportServerSideEncryption
impl ExportServerSideEncryption
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExportServerSideEncryption
Trait Implementations
sourceimpl Clone for ExportServerSideEncryption
impl Clone for ExportServerSideEncryption
sourcefn clone(&self) -> ExportServerSideEncryption
fn clone(&self) -> ExportServerSideEncryption
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 ExportServerSideEncryption
impl Debug for ExportServerSideEncryption
sourceimpl PartialEq<ExportServerSideEncryption> for ExportServerSideEncryption
impl PartialEq<ExportServerSideEncryption> for ExportServerSideEncryption
sourcefn eq(&self, other: &ExportServerSideEncryption) -> bool
fn eq(&self, other: &ExportServerSideEncryption) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ExportServerSideEncryption) -> bool
fn ne(&self, other: &ExportServerSideEncryption) -> bool
This method tests for !=.
impl StructuralPartialEq for ExportServerSideEncryption
Auto Trait Implementations
impl RefUnwindSafe for ExportServerSideEncryption
impl Send for ExportServerSideEncryption
impl Sync for ExportServerSideEncryption
impl Unpin for ExportServerSideEncryption
impl UnwindSafe for ExportServerSideEncryption
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