Struct aws_sdk_glue::model::ml_user_data_encryption::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for MlUserDataEncryption.
Implementations§
source§impl Builder
impl Builder
sourcepub fn ml_user_data_encryption_mode(
self,
input: MlUserDataEncryptionModeString
) -> Self
pub fn ml_user_data_encryption_mode(
self,
input: MlUserDataEncryptionModeString
) -> Self
The encryption mode applied to user data. Valid values are:
-
DISABLED: encryption is disabled
-
SSEKMS: use of server-side encryption with Key Management Service (SSE-KMS) for user data stored in Amazon S3.
sourcepub fn set_ml_user_data_encryption_mode(
self,
input: Option<MlUserDataEncryptionModeString>
) -> Self
pub fn set_ml_user_data_encryption_mode(
self,
input: Option<MlUserDataEncryptionModeString>
) -> Self
The encryption mode applied to user data. Valid values are:
-
DISABLED: encryption is disabled
-
SSEKMS: use of server-side encryption with Key Management Service (SSE-KMS) for user data stored in Amazon S3.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The ID for the customer-provided KMS key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The ID for the customer-provided KMS key.
sourcepub fn build(self) -> MlUserDataEncryption
pub fn build(self) -> MlUserDataEncryption
Consumes the builder and constructs a MlUserDataEncryption.