#[non_exhaustive]pub struct ContentTypeProfileBuilder { /* private fields */ }
Expand description
A builder for ContentTypeProfile
.
Implementations§
source§impl ContentTypeProfileBuilder
impl ContentTypeProfileBuilder
sourcepub fn format(self, input: Format) -> Self
pub fn format(self, input: Format) -> Self
The format for a field-level encryption content type-profile mapping.
This field is required.sourcepub fn set_format(self, input: Option<Format>) -> Self
pub fn set_format(self, input: Option<Format>) -> Self
The format for a field-level encryption content type-profile mapping.
sourcepub fn get_format(&self) -> &Option<Format>
pub fn get_format(&self) -> &Option<Format>
The format for a field-level encryption content type-profile mapping.
sourcepub fn profile_id(self, input: impl Into<String>) -> Self
pub fn profile_id(self, input: impl Into<String>) -> Self
The profile ID for a field-level encryption content type-profile mapping.
sourcepub fn set_profile_id(self, input: Option<String>) -> Self
pub fn set_profile_id(self, input: Option<String>) -> Self
The profile ID for a field-level encryption content type-profile mapping.
sourcepub fn get_profile_id(&self) -> &Option<String>
pub fn get_profile_id(&self) -> &Option<String>
The profile ID for a field-level encryption content type-profile mapping.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The content type for a field-level encryption content type-profile mapping.
This field is required.sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The content type for a field-level encryption content type-profile mapping.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
The content type for a field-level encryption content type-profile mapping.
sourcepub fn build(self) -> Result<ContentTypeProfile, BuildError>
pub fn build(self) -> Result<ContentTypeProfile, BuildError>
Consumes the builder and constructs a ContentTypeProfile
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ContentTypeProfileBuilder
impl Clone for ContentTypeProfileBuilder
source§fn clone(&self) -> ContentTypeProfileBuilder
fn clone(&self) -> ContentTypeProfileBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContentTypeProfileBuilder
impl Debug for ContentTypeProfileBuilder
source§impl Default for ContentTypeProfileBuilder
impl Default for ContentTypeProfileBuilder
source§fn default() -> ContentTypeProfileBuilder
fn default() -> ContentTypeProfileBuilder
source§impl PartialEq for ContentTypeProfileBuilder
impl PartialEq for ContentTypeProfileBuilder
source§fn eq(&self, other: &ContentTypeProfileBuilder) -> bool
fn eq(&self, other: &ContentTypeProfileBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.