Struct aws_sdk_cloudfront::types::EncryptionEntity
source · #[non_exhaustive]pub struct EncryptionEntity {
pub public_key_id: String,
pub provider_id: String,
pub field_patterns: Option<FieldPatterns>,
}
Expand description
Complex data type for field-level encryption profiles that includes the encryption key and field pattern specifications.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.public_key_id: String
The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.
provider_id: 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.
field_patterns: 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.
Implementations§
source§impl EncryptionEntity
impl EncryptionEntity
sourcepub fn public_key_id(&self) -> &str
pub fn public_key_id(&self) -> &str
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) -> &str
pub fn provider_id(&self) -> &str
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) -> Option<&FieldPatterns>
pub fn 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.
source§impl EncryptionEntity
impl EncryptionEntity
sourcepub fn builder() -> EncryptionEntityBuilder
pub fn builder() -> EncryptionEntityBuilder
Creates a new builder-style object to manufacture EncryptionEntity
.
Trait Implementations§
source§impl Clone for EncryptionEntity
impl Clone for EncryptionEntity
source§fn clone(&self) -> EncryptionEntity
fn clone(&self) -> EncryptionEntity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionEntity
impl Debug for EncryptionEntity
source§impl PartialEq for EncryptionEntity
impl PartialEq for EncryptionEntity
source§fn eq(&self, other: &EncryptionEntity) -> bool
fn eq(&self, other: &EncryptionEntity) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptionEntity
Auto Trait Implementations§
impl Freeze for EncryptionEntity
impl RefUnwindSafe for EncryptionEntity
impl Send for EncryptionEntity
impl Sync for EncryptionEntity
impl Unpin for EncryptionEntity
impl UnwindSafe for EncryptionEntity
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