Struct aws_sdk_glue::types::builders::MlUserDataEncryptionBuilder
source · #[non_exhaustive]pub struct MlUserDataEncryptionBuilder { /* private fields */ }Expand description
A builder for MlUserDataEncryption.
Implementations§
source§impl MlUserDataEncryptionBuilder
impl MlUserDataEncryptionBuilder
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 get_ml_user_data_encryption_mode(
&self
) -> &Option<MlUserDataEncryptionModeString>
pub fn get_ml_user_data_encryption_mode( &self ) -> &Option<MlUserDataEncryptionModeString>
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 get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The ID for the customer-provided KMS key.
sourcepub fn build(self) -> Result<MlUserDataEncryption, BuildError>
pub fn build(self) -> Result<MlUserDataEncryption, BuildError>
Consumes the builder and constructs a MlUserDataEncryption.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MlUserDataEncryptionBuilder
impl Clone for MlUserDataEncryptionBuilder
source§fn clone(&self) -> MlUserDataEncryptionBuilder
fn clone(&self) -> MlUserDataEncryptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MlUserDataEncryptionBuilder
impl Debug for MlUserDataEncryptionBuilder
source§impl Default for MlUserDataEncryptionBuilder
impl Default for MlUserDataEncryptionBuilder
source§fn default() -> MlUserDataEncryptionBuilder
fn default() -> MlUserDataEncryptionBuilder
source§impl PartialEq for MlUserDataEncryptionBuilder
impl PartialEq for MlUserDataEncryptionBuilder
source§fn eq(&self, other: &MlUserDataEncryptionBuilder) -> bool
fn eq(&self, other: &MlUserDataEncryptionBuilder) -> bool
self and other values to be equal, and is used
by ==.