Struct aws_sdk_codegurureviewer::types::KmsKeyDetails
source · #[non_exhaustive]pub struct KmsKeyDetails {
pub kms_key_id: Option<String>,
pub encryption_option: Option<EncryptionOption>,
}
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.
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.kms_key_id: Option<String>
The ID of the Amazon Web Services KMS key that is associated with a repository association.
encryption_option: 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
).
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KmsKeyDetails
impl Debug for KmsKeyDetails
source§impl PartialEq for KmsKeyDetails
impl PartialEq for KmsKeyDetails
source§fn eq(&self, other: &KmsKeyDetails) -> bool
fn eq(&self, other: &KmsKeyDetails) -> bool
self
and other
values to be equal, and is used
by ==
.