#[non_exhaustive]pub struct KmsServerSideEncryptionIntegrationBuilder { /* private fields */ }
Expand description
A builder for KmsServerSideEncryptionIntegration
.
Implementations§
source§impl KmsServerSideEncryptionIntegrationBuilder
impl KmsServerSideEncryptionIntegrationBuilder
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 customer managed keys.
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 customer managed keys.
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 customer managed keys.
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) -> KmsServerSideEncryptionIntegration
pub fn build(self) -> KmsServerSideEncryptionIntegration
Consumes the builder and constructs a KmsServerSideEncryptionIntegration
.
Trait Implementations§
source§impl Clone for KmsServerSideEncryptionIntegrationBuilder
impl Clone for KmsServerSideEncryptionIntegrationBuilder
source§fn clone(&self) -> KmsServerSideEncryptionIntegrationBuilder
fn clone(&self) -> KmsServerSideEncryptionIntegrationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for KmsServerSideEncryptionIntegrationBuilder
impl Default for KmsServerSideEncryptionIntegrationBuilder
source§fn default() -> KmsServerSideEncryptionIntegrationBuilder
fn default() -> KmsServerSideEncryptionIntegrationBuilder
source§impl PartialEq for KmsServerSideEncryptionIntegrationBuilder
impl PartialEq for KmsServerSideEncryptionIntegrationBuilder
source§fn eq(&self, other: &KmsServerSideEncryptionIntegrationBuilder) -> bool
fn eq(&self, other: &KmsServerSideEncryptionIntegrationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.