#[non_exhaustive]pub struct FieldLevelEncryptionProfileConfigBuilder { /* private fields */ }
Expand description
A builder for FieldLevelEncryptionProfileConfig
.
Implementations§
source§impl FieldLevelEncryptionProfileConfigBuilder
impl FieldLevelEncryptionProfileConfigBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Profile name for the field-level encryption profile.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Profile name for the field-level encryption profile.
sourcepub fn caller_reference(self, input: impl Into<String>) -> Self
pub fn caller_reference(self, input: impl Into<String>) -> Self
A unique number that ensures that the request can't be replayed.
This field is required.sourcepub fn set_caller_reference(self, input: Option<String>) -> Self
pub fn set_caller_reference(self, input: Option<String>) -> Self
A unique number that ensures that the request can't be replayed.
sourcepub fn get_caller_reference(&self) -> &Option<String>
pub fn get_caller_reference(&self) -> &Option<String>
A unique number that ensures that the request can't be replayed.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters.
sourcepub fn encryption_entities(self, input: EncryptionEntities) -> Self
pub fn encryption_entities(self, input: EncryptionEntities) -> Self
A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.
This field is required.sourcepub fn set_encryption_entities(self, input: Option<EncryptionEntities>) -> Self
pub fn set_encryption_entities(self, input: Option<EncryptionEntities>) -> Self
A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.
sourcepub fn get_encryption_entities(&self) -> &Option<EncryptionEntities>
pub fn get_encryption_entities(&self) -> &Option<EncryptionEntities>
A complex data type of encryption entities for the field-level encryption profile that include the public key ID, provider, and field patterns for specifying which fields to encrypt with this key.
sourcepub fn build(self) -> Result<FieldLevelEncryptionProfileConfig, BuildError>
pub fn build(self) -> Result<FieldLevelEncryptionProfileConfig, BuildError>
Consumes the builder and constructs a FieldLevelEncryptionProfileConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FieldLevelEncryptionProfileConfigBuilder
impl Clone for FieldLevelEncryptionProfileConfigBuilder
source§fn clone(&self) -> FieldLevelEncryptionProfileConfigBuilder
fn clone(&self) -> FieldLevelEncryptionProfileConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FieldLevelEncryptionProfileConfigBuilder
impl Default for FieldLevelEncryptionProfileConfigBuilder
source§fn default() -> FieldLevelEncryptionProfileConfigBuilder
fn default() -> FieldLevelEncryptionProfileConfigBuilder
source§impl PartialEq for FieldLevelEncryptionProfileConfigBuilder
impl PartialEq for FieldLevelEncryptionProfileConfigBuilder
source§fn eq(&self, other: &FieldLevelEncryptionProfileConfigBuilder) -> bool
fn eq(&self, other: &FieldLevelEncryptionProfileConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.