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 get_resources(&self) -> &Option<Vec<String>>
pub fn get_resources(&self) -> &Option<Vec<String>>
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 get_provider(&self) -> &Option<Provider>
pub fn get_provider(&self) -> &Option<Provider>
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 for EncryptionConfigBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for EncryptionConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EncryptionConfigBuilder
impl Send for EncryptionConfigBuilder
impl Sync for EncryptionConfigBuilder
impl Unpin for EncryptionConfigBuilder
impl UnwindSafe for EncryptionConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more