#[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 of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys 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 of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys 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 of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys 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 ==
.