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 ==
.impl StructuralPartialEq for MlUserDataEncryptionBuilder
Auto Trait Implementations§
impl Freeze for MlUserDataEncryptionBuilder
impl RefUnwindSafe for MlUserDataEncryptionBuilder
impl Send for MlUserDataEncryptionBuilder
impl Sync for MlUserDataEncryptionBuilder
impl Unpin for MlUserDataEncryptionBuilder
impl UnwindSafe for MlUserDataEncryptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more