Struct aws_sdk_s3::model::encryption_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EncryptionConfiguration
.
Implementations§
source§impl Builder
impl Builder
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, customer managed KMS keys. For more information, see Using symmetric and asymmetric 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 (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, customer managed KMS keys. For more information, see Using symmetric and asymmetric 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
.