#[non_exhaustive]pub struct FieldLevelEncryptionProfileSummaryBuilder { /* private fields */ }
Expand description
A builder for FieldLevelEncryptionProfileSummary
.
Implementations§
source§impl FieldLevelEncryptionProfileSummaryBuilder
impl FieldLevelEncryptionProfileSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
ID for the field-level encryption profile summary.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
ID for the field-level encryption profile summary.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The time when the field-level encryption profile summary was last 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 time when the field-level encryption profile summary was last updated.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The time when the field-level encryption profile summary was last updated.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Name for the field-level encryption profile summary.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Name for the field-level encryption profile summary.
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 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 summary. 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 summary. 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 summary. The comment cannot be longer than 128 characters.
sourcepub fn build(self) -> Result<FieldLevelEncryptionProfileSummary, BuildError>
pub fn build(self) -> Result<FieldLevelEncryptionProfileSummary, BuildError>
Consumes the builder and constructs a FieldLevelEncryptionProfileSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FieldLevelEncryptionProfileSummaryBuilder
impl Clone for FieldLevelEncryptionProfileSummaryBuilder
source§fn clone(&self) -> FieldLevelEncryptionProfileSummaryBuilder
fn clone(&self) -> FieldLevelEncryptionProfileSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FieldLevelEncryptionProfileSummaryBuilder
impl Default for FieldLevelEncryptionProfileSummaryBuilder
source§fn default() -> FieldLevelEncryptionProfileSummaryBuilder
fn default() -> FieldLevelEncryptionProfileSummaryBuilder
source§impl PartialEq for FieldLevelEncryptionProfileSummaryBuilder
impl PartialEq for FieldLevelEncryptionProfileSummaryBuilder
source§fn eq(&self, other: &FieldLevelEncryptionProfileSummaryBuilder) -> bool
fn eq(&self, other: &FieldLevelEncryptionProfileSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.