#[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 ==
.impl StructuralPartialEq for FieldLevelEncryptionProfileSummaryBuilder
Auto Trait Implementations§
impl Freeze for FieldLevelEncryptionProfileSummaryBuilder
impl RefUnwindSafe for FieldLevelEncryptionProfileSummaryBuilder
impl Send for FieldLevelEncryptionProfileSummaryBuilder
impl Sync for FieldLevelEncryptionProfileSummaryBuilder
impl Unpin for FieldLevelEncryptionProfileSummaryBuilder
impl UnwindSafe for FieldLevelEncryptionProfileSummaryBuilder
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