#[non_exhaustive]pub struct KmsServerSideEncryptionIntegrationConfigBuilder { /* private fields */ }
Expand description
A builder for KmsServerSideEncryptionIntegrationConfig
.
Implementations§
source§impl KmsServerSideEncryptionIntegrationConfigBuilder
impl KmsServerSideEncryptionIntegrationConfigBuilder
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
Describes the specified KMS key.
To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". If you specify a predefined Amazon Web Services alias (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web Services managed key and returns its KeyId and Arn in the response. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
Describes the specified KMS key.
To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". If you specify a predefined Amazon Web Services alias (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web Services managed key and returns its KeyId and Arn in the response. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
Describes the specified KMS key.
To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with "alias/". If you specify a predefined Amazon Web Services alias (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an Amazon Web Services managed key and returns its KeyId and Arn in the response. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
sourcepub fn opt_in_status(self, input: OptInStatus) -> Self
pub fn opt_in_status(self, input: OptInStatus) -> Self
Specifies if DevOps Guru is enabled for KMS integration.
sourcepub fn set_opt_in_status(self, input: Option<OptInStatus>) -> Self
pub fn set_opt_in_status(self, input: Option<OptInStatus>) -> Self
Specifies if DevOps Guru is enabled for KMS integration.
sourcepub fn get_opt_in_status(&self) -> &Option<OptInStatus>
pub fn get_opt_in_status(&self) -> &Option<OptInStatus>
Specifies if DevOps Guru is enabled for KMS integration.
sourcepub fn type(self, input: ServerSideEncryptionType) -> Self
pub fn type(self, input: ServerSideEncryptionType) -> Self
The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
sourcepub fn set_type(self, input: Option<ServerSideEncryptionType>) -> Self
pub fn set_type(self, input: Option<ServerSideEncryptionType>) -> Self
The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
sourcepub fn get_type(&self) -> &Option<ServerSideEncryptionType>
pub fn get_type(&self) -> &Option<ServerSideEncryptionType>
The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
sourcepub fn build(self) -> KmsServerSideEncryptionIntegrationConfig
pub fn build(self) -> KmsServerSideEncryptionIntegrationConfig
Consumes the builder and constructs a KmsServerSideEncryptionIntegrationConfig
.
Trait Implementations§
source§impl Clone for KmsServerSideEncryptionIntegrationConfigBuilder
impl Clone for KmsServerSideEncryptionIntegrationConfigBuilder
source§fn clone(&self) -> KmsServerSideEncryptionIntegrationConfigBuilder
fn clone(&self) -> KmsServerSideEncryptionIntegrationConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for KmsServerSideEncryptionIntegrationConfigBuilder
impl Default for KmsServerSideEncryptionIntegrationConfigBuilder
source§fn default() -> KmsServerSideEncryptionIntegrationConfigBuilder
fn default() -> KmsServerSideEncryptionIntegrationConfigBuilder
source§impl PartialEq for KmsServerSideEncryptionIntegrationConfigBuilder
impl PartialEq for KmsServerSideEncryptionIntegrationConfigBuilder
source§fn eq(&self, other: &KmsServerSideEncryptionIntegrationConfigBuilder) -> bool
fn eq(&self, other: &KmsServerSideEncryptionIntegrationConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.