Struct aws_sdk_codegurureviewer::types::KmsKeyDetails
source · #[non_exhaustive]pub struct KmsKeyDetails { /* private fields */ }Expand description
An object that contains:
-
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (
AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK). -
The ID of the Amazon Web Services KMS key that is associated with a repository association.
Implementations§
source§impl KmsKeyDetails
impl KmsKeyDetails
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the Amazon Web Services KMS key that is associated with a repository association.
sourcepub fn encryption_option(&self) -> Option<&EncryptionOption>
pub fn encryption_option(&self) -> Option<&EncryptionOption>
The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
source§impl KmsKeyDetails
impl KmsKeyDetails
sourcepub fn builder() -> KmsKeyDetailsBuilder
pub fn builder() -> KmsKeyDetailsBuilder
Creates a new builder-style object to manufacture KmsKeyDetails.
Trait Implementations§
source§impl Clone for KmsKeyDetails
impl Clone for KmsKeyDetails
source§fn clone(&self) -> KmsKeyDetails
fn clone(&self) -> KmsKeyDetails
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 KmsKeyDetails
impl Debug for KmsKeyDetails
source§impl PartialEq<KmsKeyDetails> for KmsKeyDetails
impl PartialEq<KmsKeyDetails> for KmsKeyDetails
source§fn eq(&self, other: &KmsKeyDetails) -> bool
fn eq(&self, other: &KmsKeyDetails) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KmsKeyDetails
Auto Trait Implementations§
impl RefUnwindSafe for KmsKeyDetails
impl Send for KmsKeyDetails
impl Sync for KmsKeyDetails
impl Unpin for KmsKeyDetails
impl UnwindSafe for KmsKeyDetails
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