Struct aws_sdk_codepipeline::types::builders::EncryptionKeyBuilder
source · #[non_exhaustive]pub struct EncryptionKeyBuilder { /* private fields */ }
Expand description
A builder for EncryptionKey
.
Implementations§
source§impl EncryptionKeyBuilder
impl EncryptionKeyBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID used to identify the key. For an AWS KMS key, you can use the key ID, the key ARN, or the alias ARN.
Aliases are recognized only in the account that created the customer master key (CMK). For cross-account actions, you can only use the key ID or key ARN to identify the key.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID used to identify the key. For an AWS KMS key, you can use the key ID, the key ARN, or the alias ARN.
Aliases are recognized only in the account that created the customer master key (CMK). For cross-account actions, you can only use the key ID or key ARN to identify the key.
sourcepub fn type(self, input: EncryptionKeyType) -> Self
pub fn type(self, input: EncryptionKeyType) -> Self
The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.
sourcepub fn set_type(self, input: Option<EncryptionKeyType>) -> Self
pub fn set_type(self, input: Option<EncryptionKeyType>) -> Self
The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.
sourcepub fn build(self) -> EncryptionKey
pub fn build(self) -> EncryptionKey
Consumes the builder and constructs a EncryptionKey
.
Trait Implementations§
source§impl Clone for EncryptionKeyBuilder
impl Clone for EncryptionKeyBuilder
source§fn clone(&self) -> EncryptionKeyBuilder
fn clone(&self) -> EncryptionKeyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionKeyBuilder
impl Debug for EncryptionKeyBuilder
source§impl Default for EncryptionKeyBuilder
impl Default for EncryptionKeyBuilder
source§fn default() -> EncryptionKeyBuilder
fn default() -> EncryptionKeyBuilder
source§impl PartialEq<EncryptionKeyBuilder> for EncryptionKeyBuilder
impl PartialEq<EncryptionKeyBuilder> for EncryptionKeyBuilder
source§fn eq(&self, other: &EncryptionKeyBuilder) -> bool
fn eq(&self, other: &EncryptionKeyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.