#[non_exhaustive]pub struct EncryptionEntitiesBuilder { /* private fields */ }
Expand description
A builder for EncryptionEntities
.
Implementations§
source§impl EncryptionEntitiesBuilder
impl EncryptionEntitiesBuilder
sourcepub fn quantity(self, input: i32) -> Self
pub fn quantity(self, input: i32) -> Self
Number of field pattern items in a field-level encryption content type-profile mapping.
This field is required.sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
Number of field pattern items in a field-level encryption content type-profile mapping.
sourcepub fn get_quantity(&self) -> &Option<i32>
pub fn get_quantity(&self) -> &Option<i32>
Number of field pattern items in a field-level encryption content type-profile mapping.
sourcepub fn items(self, input: EncryptionEntity) -> Self
pub fn items(self, input: EncryptionEntity) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
An array of field patterns in a field-level encryption content type-profile mapping.
sourcepub fn set_items(self, input: Option<Vec<EncryptionEntity>>) -> Self
pub fn set_items(self, input: Option<Vec<EncryptionEntity>>) -> Self
An array of field patterns in a field-level encryption content type-profile mapping.
sourcepub fn get_items(&self) -> &Option<Vec<EncryptionEntity>>
pub fn get_items(&self) -> &Option<Vec<EncryptionEntity>>
An array of field patterns in a field-level encryption content type-profile mapping.
sourcepub fn build(self) -> Result<EncryptionEntities, BuildError>
pub fn build(self) -> Result<EncryptionEntities, BuildError>
Consumes the builder and constructs a EncryptionEntities
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EncryptionEntitiesBuilder
impl Clone for EncryptionEntitiesBuilder
source§fn clone(&self) -> EncryptionEntitiesBuilder
fn clone(&self) -> EncryptionEntitiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionEntitiesBuilder
impl Debug for EncryptionEntitiesBuilder
source§impl Default for EncryptionEntitiesBuilder
impl Default for EncryptionEntitiesBuilder
source§fn default() -> EncryptionEntitiesBuilder
fn default() -> EncryptionEntitiesBuilder
source§impl PartialEq for EncryptionEntitiesBuilder
impl PartialEq for EncryptionEntitiesBuilder
source§fn eq(&self, other: &EncryptionEntitiesBuilder) -> bool
fn eq(&self, other: &EncryptionEntitiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.