#[non_exhaustive]pub struct FieldLevelEncryptionBuilder { /* private fields */ }
Expand description
A builder for FieldLevelEncryption
.
Implementations§
source§impl FieldLevelEncryptionBuilder
impl FieldLevelEncryptionBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The configuration ID for a field-level encryption configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The configuration ID for a field-level encryption configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The configuration ID for a field-level encryption configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The last time the field-level encryption configuration was changed.
This field is required.sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The last time the field-level encryption configuration was changed.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The last time the field-level encryption configuration was changed.
sourcepub fn field_level_encryption_config(
self,
input: FieldLevelEncryptionConfig
) -> Self
pub fn field_level_encryption_config( self, input: FieldLevelEncryptionConfig ) -> Self
A complex data type that includes the profile configurations specified for field-level encryption.
This field is required.sourcepub fn set_field_level_encryption_config(
self,
input: Option<FieldLevelEncryptionConfig>
) -> Self
pub fn set_field_level_encryption_config( self, input: Option<FieldLevelEncryptionConfig> ) -> Self
A complex data type that includes the profile configurations specified for field-level encryption.
sourcepub fn get_field_level_encryption_config(
&self
) -> &Option<FieldLevelEncryptionConfig>
pub fn get_field_level_encryption_config( &self ) -> &Option<FieldLevelEncryptionConfig>
A complex data type that includes the profile configurations specified for field-level encryption.
sourcepub fn build(self) -> Result<FieldLevelEncryption, BuildError>
pub fn build(self) -> Result<FieldLevelEncryption, BuildError>
Consumes the builder and constructs a FieldLevelEncryption
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FieldLevelEncryptionBuilder
impl Clone for FieldLevelEncryptionBuilder
source§fn clone(&self) -> FieldLevelEncryptionBuilder
fn clone(&self) -> FieldLevelEncryptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FieldLevelEncryptionBuilder
impl Debug for FieldLevelEncryptionBuilder
source§impl Default for FieldLevelEncryptionBuilder
impl Default for FieldLevelEncryptionBuilder
source§fn default() -> FieldLevelEncryptionBuilder
fn default() -> FieldLevelEncryptionBuilder
source§impl PartialEq for FieldLevelEncryptionBuilder
impl PartialEq for FieldLevelEncryptionBuilder
source§fn eq(&self, other: &FieldLevelEncryptionBuilder) -> bool
fn eq(&self, other: &FieldLevelEncryptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FieldLevelEncryptionBuilder
Auto Trait Implementations§
impl Freeze for FieldLevelEncryptionBuilder
impl RefUnwindSafe for FieldLevelEncryptionBuilder
impl Send for FieldLevelEncryptionBuilder
impl Sync for FieldLevelEncryptionBuilder
impl Unpin for FieldLevelEncryptionBuilder
impl UnwindSafe for FieldLevelEncryptionBuilder
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