#[non_exhaustive]pub struct LegacyOverride {
pub attribute_actions_on_encrypt: Option<HashMap<String, CryptoAction>>,
pub default_attribute_flag: Option<CryptoAction>,
pub encryptor: Option<LegacyDynamoDbEncryptorRef>,
pub policy: Option<LegacyPolicy>,
}
Expand description
A configuration for overriding encryption and/or decryption to instead perform legacy encryption and decryption.
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.attribute_actions_on_encrypt: Option<HashMap<String, CryptoAction>>
Overrides which attributes are encrypted and/or signed for any items read or written with legacy behavior.
default_attribute_flag: Option<CryptoAction>
This input is not used in the Java Client and should not be specified.
encryptor: Option<LegacyDynamoDbEncryptorRef>
A configuration for the legacy DynamoDB Encryption Client’s Encryptor.
policy: Option<LegacyPolicy>
A policy which configurates whether legacy behavior overrides encryption and/or decryption.
Implementations§
Source§impl LegacyOverride
impl LegacyOverride
Sourcepub fn attribute_actions_on_encrypt(
&self,
) -> &Option<HashMap<String, CryptoAction>>
pub fn attribute_actions_on_encrypt( &self, ) -> &Option<HashMap<String, CryptoAction>>
Overrides which attributes are encrypted and/or signed for any items read or written with legacy behavior.
Sourcepub fn default_attribute_flag(&self) -> &Option<CryptoAction>
pub fn default_attribute_flag(&self) -> &Option<CryptoAction>
This input is not used in the Java Client and should not be specified.
Sourcepub fn encryptor(&self) -> &Option<LegacyDynamoDbEncryptorRef>
pub fn encryptor(&self) -> &Option<LegacyDynamoDbEncryptorRef>
A configuration for the legacy DynamoDB Encryption Client’s Encryptor.
Sourcepub fn policy(&self) -> &Option<LegacyPolicy>
pub fn policy(&self) -> &Option<LegacyPolicy>
A policy which configurates whether legacy behavior overrides encryption and/or decryption.
Source§impl LegacyOverride
impl LegacyOverride
Sourcepub fn builder() -> LegacyOverrideBuilder
pub fn builder() -> LegacyOverrideBuilder
Creates a new builder-style object to manufacture LegacyOverride
.
Trait Implementations§
Source§impl Clone for LegacyOverride
impl Clone for LegacyOverride
Source§fn clone(&self) -> LegacyOverride
fn clone(&self) -> LegacyOverride
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for LegacyOverride
impl Debug for LegacyOverride
Source§impl PartialEq for LegacyOverride
impl PartialEq for LegacyOverride
impl StructuralPartialEq for LegacyOverride
Auto Trait Implementations§
impl Freeze for LegacyOverride
impl RefUnwindSafe for LegacyOverride
impl Send for LegacyOverride
impl Sync for LegacyOverride
impl Unpin for LegacyOverride
impl UnwindSafe for LegacyOverride
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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