Struct aws_sdk_cloudfront::types::builders::EncryptionEntityBuilder
source · #[non_exhaustive]pub struct EncryptionEntityBuilder { /* private fields */ }
Expand description
A builder for EncryptionEntity
.
Implementations§
source§impl EncryptionEntityBuilder
impl EncryptionEntityBuilder
sourcepub fn public_key_id(self, input: impl Into<String>) -> Self
pub fn public_key_id(self, input: impl Into<String>) -> Self
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
This field is required.sourcepub fn set_public_key_id(self, input: Option<String>) -> Self
pub fn set_public_key_id(self, input: Option<String>) -> Self
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
sourcepub fn get_public_key_id(&self) -> &Option<String>
pub fn get_public_key_id(&self) -> &Option<String>
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
sourcepub fn provider_id(self, input: impl Into<String>) -> Self
pub fn provider_id(self, input: impl Into<String>) -> Self
The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.
This field is required.sourcepub fn set_provider_id(self, input: Option<String>) -> Self
pub fn set_provider_id(self, input: Option<String>) -> Self
The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.
sourcepub fn get_provider_id(&self) -> &Option<String>
pub fn get_provider_id(&self) -> &Option<String>
The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.
sourcepub fn field_patterns(self, input: FieldPatterns) -> Self
pub fn field_patterns(self, input: FieldPatterns) -> Self
Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.
This field is required.sourcepub fn set_field_patterns(self, input: Option<FieldPatterns>) -> Self
pub fn set_field_patterns(self, input: Option<FieldPatterns>) -> Self
Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.
sourcepub fn get_field_patterns(&self) -> &Option<FieldPatterns>
pub fn get_field_patterns(&self) -> &Option<FieldPatterns>
Field patterns in a field-level encryption content type profile specify the fields that you want to be encrypted. You can provide the full field name, or any beginning characters followed by a wildcard (*). You can't overlap field patterns. For example, you can't have both ABC* and AB*. Note that field patterns are case-sensitive.
sourcepub fn build(self) -> Result<EncryptionEntity, BuildError>
pub fn build(self) -> Result<EncryptionEntity, BuildError>
Consumes the builder and constructs a EncryptionEntity
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EncryptionEntityBuilder
impl Clone for EncryptionEntityBuilder
source§fn clone(&self) -> EncryptionEntityBuilder
fn clone(&self) -> EncryptionEntityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionEntityBuilder
impl Debug for EncryptionEntityBuilder
source§impl Default for EncryptionEntityBuilder
impl Default for EncryptionEntityBuilder
source§fn default() -> EncryptionEntityBuilder
fn default() -> EncryptionEntityBuilder
source§impl PartialEq for EncryptionEntityBuilder
impl PartialEq for EncryptionEntityBuilder
source§fn eq(&self, other: &EncryptionEntityBuilder) -> bool
fn eq(&self, other: &EncryptionEntityBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptionEntityBuilder
Auto Trait Implementations§
impl Freeze for EncryptionEntityBuilder
impl RefUnwindSafe for EncryptionEntityBuilder
impl Send for EncryptionEntityBuilder
impl Sync for EncryptionEntityBuilder
impl Unpin for EncryptionEntityBuilder
impl UnwindSafe for EncryptionEntityBuilder
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