#[non_exhaustive]pub struct FieldLevelEncryptionProfileBuilder { /* private fields */ }
Expand description
A builder for FieldLevelEncryptionProfile
.
Implementations§
source§impl FieldLevelEncryptionProfileBuilder
impl FieldLevelEncryptionProfileBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID for a field-level encryption profile 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 ID for a field-level encryption profile 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 ID for a field-level encryption profile 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 profile was updated.
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 profile was updated.
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 profile was updated.
sourcepub fn field_level_encryption_profile_config(
self,
input: FieldLevelEncryptionProfileConfig
) -> Self
pub fn field_level_encryption_profile_config( self, input: FieldLevelEncryptionProfileConfig ) -> Self
A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.
This field is required.sourcepub fn set_field_level_encryption_profile_config(
self,
input: Option<FieldLevelEncryptionProfileConfig>
) -> Self
pub fn set_field_level_encryption_profile_config( self, input: Option<FieldLevelEncryptionProfileConfig> ) -> Self
A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.
sourcepub fn get_field_level_encryption_profile_config(
&self
) -> &Option<FieldLevelEncryptionProfileConfig>
pub fn get_field_level_encryption_profile_config( &self ) -> &Option<FieldLevelEncryptionProfileConfig>
A complex data type that includes the profile name and the encryption entities for the field-level encryption profile.
sourcepub fn build(self) -> Result<FieldLevelEncryptionProfile, BuildError>
pub fn build(self) -> Result<FieldLevelEncryptionProfile, BuildError>
Consumes the builder and constructs a FieldLevelEncryptionProfile
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FieldLevelEncryptionProfileBuilder
impl Clone for FieldLevelEncryptionProfileBuilder
source§fn clone(&self) -> FieldLevelEncryptionProfileBuilder
fn clone(&self) -> FieldLevelEncryptionProfileBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FieldLevelEncryptionProfileBuilder
impl Default for FieldLevelEncryptionProfileBuilder
source§fn default() -> FieldLevelEncryptionProfileBuilder
fn default() -> FieldLevelEncryptionProfileBuilder
source§impl PartialEq for FieldLevelEncryptionProfileBuilder
impl PartialEq for FieldLevelEncryptionProfileBuilder
source§fn eq(&self, other: &FieldLevelEncryptionProfileBuilder) -> bool
fn eq(&self, other: &FieldLevelEncryptionProfileBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.