Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::EncryptionConfigurationBuilder
pub struct EncryptionConfigurationBuilder { /* private fields */ }
Expand description
A builder for EncryptionConfiguration
.
Implementations§
§impl EncryptionConfigurationBuilder
impl EncryptionConfigurationBuilder
pub fn replica_kms_key_id(
self,
input: impl Into<String>
) -> EncryptionConfigurationBuilder
pub fn replica_kms_key_id( self, input: impl Into<String> ) -> EncryptionConfigurationBuilder
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.
pub fn set_replica_kms_key_id(
self,
input: Option<String>
) -> EncryptionConfigurationBuilder
pub fn set_replica_kms_key_id( self, input: Option<String> ) -> EncryptionConfigurationBuilder
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.
pub 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.
pub fn build(self) -> EncryptionConfiguration
pub fn build(self) -> EncryptionConfiguration
Consumes the builder and constructs a EncryptionConfiguration
.
Trait Implementations§
§impl Clone for EncryptionConfigurationBuilder
impl Clone for EncryptionConfigurationBuilder
§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 more§impl Debug for EncryptionConfigurationBuilder
impl Debug for EncryptionConfigurationBuilder
§impl Default for EncryptionConfigurationBuilder
impl Default for EncryptionConfigurationBuilder
§fn default() -> EncryptionConfigurationBuilder
fn default() -> EncryptionConfigurationBuilder
§impl PartialEq<EncryptionConfigurationBuilder> for EncryptionConfigurationBuilder
impl PartialEq<EncryptionConfigurationBuilder> for EncryptionConfigurationBuilder
§fn eq(&self, other: &EncryptionConfigurationBuilder) -> bool
fn eq(&self, other: &EncryptionConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.