Struct aws_sdk_codegurureviewer::model::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() -> Builder
pub fn builder() -> Builder
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 more