#[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.
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.
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) -> ContentTypeProfile
pub fn build(self) -> ContentTypeProfile
Consumes the builder and constructs a ContentTypeProfile
.
Trait Implementations§
source§impl Clone for ContentTypeProfileBuilder
impl Clone for ContentTypeProfileBuilder
source§fn clone(&self) -> ContentTypeProfileBuilder
fn clone(&self) -> ContentTypeProfileBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<ContentTypeProfileBuilder> for ContentTypeProfileBuilder
impl PartialEq<ContentTypeProfileBuilder> for ContentTypeProfileBuilder
source§fn eq(&self, other: &ContentTypeProfileBuilder) -> bool
fn eq(&self, other: &ContentTypeProfileBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContentTypeProfileBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ContentTypeProfileBuilder
impl Send for ContentTypeProfileBuilder
impl Sync for ContentTypeProfileBuilder
impl Unpin for ContentTypeProfileBuilder
impl UnwindSafe for ContentTypeProfileBuilder
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
Mutably borrows from an owned value. Read more