Struct aws_sdk_eks::types::builders::EncryptionConfigBuilder
source · #[non_exhaustive]pub struct EncryptionConfigBuilder { /* private fields */ }Expand description
A builder for EncryptionConfig.
Implementations§
source§impl EncryptionConfigBuilder
impl EncryptionConfigBuilder
sourcepub fn resources(self, input: impl Into<String>) -> Self
pub fn resources(self, input: impl Into<String>) -> Self
Appends an item to resources.
To override the contents of this collection use set_resources.
Specifies the resources to be encrypted. The only supported value is "secrets".
sourcepub fn set_resources(self, input: Option<Vec<String>>) -> Self
pub fn set_resources(self, input: Option<Vec<String>>) -> Self
Specifies the resources to be encrypted. The only supported value is "secrets".
sourcepub fn provider(self, input: Provider) -> Self
pub fn provider(self, input: Provider) -> Self
Key Management Service (KMS) key. Either the ARN or the alias can be used.
sourcepub fn set_provider(self, input: Option<Provider>) -> Self
pub fn set_provider(self, input: Option<Provider>) -> Self
Key Management Service (KMS) key. Either the ARN or the alias can be used.
sourcepub fn build(self) -> EncryptionConfig
pub fn build(self) -> EncryptionConfig
Consumes the builder and constructs a EncryptionConfig.
Trait Implementations§
source§impl Clone for EncryptionConfigBuilder
impl Clone for EncryptionConfigBuilder
source§fn clone(&self) -> EncryptionConfigBuilder
fn clone(&self) -> EncryptionConfigBuilder
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 moresource§impl Debug for EncryptionConfigBuilder
impl Debug for EncryptionConfigBuilder
source§impl Default for EncryptionConfigBuilder
impl Default for EncryptionConfigBuilder
source§fn default() -> EncryptionConfigBuilder
fn default() -> EncryptionConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EncryptionConfigBuilder> for EncryptionConfigBuilder
impl PartialEq<EncryptionConfigBuilder> for EncryptionConfigBuilder
source§fn eq(&self, other: &EncryptionConfigBuilder) -> bool
fn eq(&self, other: &EncryptionConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.