Struct aws_sdk_cloudfront::model::EncryptionEntity
source · [−]#[non_exhaustive]pub struct EncryptionEntity {
pub public_key_id: Option<String>,
pub provider_id: Option<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: 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.
provider_id: 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.
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
sourceimpl EncryptionEntity
impl EncryptionEntity
sourcepub fn public_key_id(&self) -> Option<&str>
pub fn public_key_id(&self) -> Option<&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) -> Option<&str>
pub fn provider_id(&self) -> Option<&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.
sourceimpl EncryptionEntity
impl EncryptionEntity
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EncryptionEntity
Trait Implementations
sourceimpl Clone for EncryptionEntity
impl Clone for EncryptionEntity
sourcefn clone(&self) -> EncryptionEntity
fn clone(&self) -> EncryptionEntity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EncryptionEntity
impl Debug for EncryptionEntity
sourceimpl PartialEq<EncryptionEntity> for EncryptionEntity
impl PartialEq<EncryptionEntity> for EncryptionEntity
sourcefn eq(&self, other: &EncryptionEntity) -> bool
fn eq(&self, other: &EncryptionEntity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EncryptionEntity) -> bool
fn ne(&self, other: &EncryptionEntity) -> bool
This method tests for !=
.
impl StructuralPartialEq for EncryptionEntity
Auto Trait Implementations
impl RefUnwindSafe for EncryptionEntity
impl Send for EncryptionEntity
impl Sync for EncryptionEntity
impl Unpin for EncryptionEntity
impl UnwindSafe for EncryptionEntity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more