Struct aws_sdk_glue::model::s3_encryption::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for S3Encryption.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_encryption_mode(self, input: S3EncryptionMode) -> Self
pub fn s3_encryption_mode(self, input: S3EncryptionMode) -> Self
The encryption mode to use for Amazon S3 data.
sourcepub fn set_s3_encryption_mode(self, input: Option<S3EncryptionMode>) -> Self
pub fn set_s3_encryption_mode(self, input: Option<S3EncryptionMode>) -> Self
The encryption mode to use for Amazon S3 data.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
sourcepub fn build(self) -> S3Encryption
pub fn build(self) -> S3Encryption
Consumes the builder and constructs a S3Encryption.