Struct aws_sdk_s3::types::builders::EncryptionConfigurationBuilder
source · #[non_exhaustive]pub struct EncryptionConfigurationBuilder { /* private fields */ }
Expand description
A builder for EncryptionConfiguration
.
Implementations§
source§impl EncryptionConfigurationBuilder
impl EncryptionConfigurationBuilder
sourcepub fn replica_kms_key_id(self, input: impl Into<String>) -> Self
pub fn replica_kms_key_id(self, input: impl Into<String>) -> Self
Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. 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 set_replica_kms_key_id(self, input: Option<String>) -> Self
pub fn set_replica_kms_key_id(self, input: Option<String>) -> Self
Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. 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 get_replica_kms_key_id(&self) -> &Option<String>
pub fn get_replica_kms_key_id(&self) -> &Option<String>
Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. 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 build(self) -> EncryptionConfiguration
pub fn build(self) -> EncryptionConfiguration
Consumes the builder and constructs a EncryptionConfiguration
.
Trait Implementations§
source§impl Clone for EncryptionConfigurationBuilder
impl Clone for EncryptionConfigurationBuilder
source§fn clone(&self) -> EncryptionConfigurationBuilder
fn clone(&self) -> EncryptionConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EncryptionConfigurationBuilder
impl Default for EncryptionConfigurationBuilder
source§fn default() -> EncryptionConfigurationBuilder
fn default() -> EncryptionConfigurationBuilder
source§impl PartialEq for EncryptionConfigurationBuilder
impl PartialEq for EncryptionConfigurationBuilder
source§fn eq(&self, other: &EncryptionConfigurationBuilder) -> bool
fn eq(&self, other: &EncryptionConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EncryptionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for EncryptionConfigurationBuilder
impl RefUnwindSafe for EncryptionConfigurationBuilder
impl Send for EncryptionConfigurationBuilder
impl Sync for EncryptionConfigurationBuilder
impl Unpin for EncryptionConfigurationBuilder
impl UnwindSafe for EncryptionConfigurationBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)