Struct aws_sdk_eks::operation::associate_encryption_config::builders::AssociateEncryptionConfigFluentBuilder
source · pub struct AssociateEncryptionConfigFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to AssociateEncryptionConfig.
Associate encryption configuration to an existing cluster.
You can use this API to enable encryption on existing clusters which do not have encryption already enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new Amazon EKS clusters.
Implementations§
source§impl AssociateEncryptionConfigFluentBuilder
impl AssociateEncryptionConfigFluentBuilder
sourcepub fn as_input(&self) -> &AssociateEncryptionConfigInputBuilder
pub fn as_input(&self) -> &AssociateEncryptionConfigInputBuilder
Access the AssociateEncryptionConfig as a reference.
sourcepub async fn send(
self
) -> Result<AssociateEncryptionConfigOutput, SdkError<AssociateEncryptionConfigError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateEncryptionConfigOutput, SdkError<AssociateEncryptionConfigError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociateEncryptionConfigOutput, AssociateEncryptionConfigError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociateEncryptionConfigOutput, AssociateEncryptionConfigError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster that you are associating with encryption configuration.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster that you are associating with encryption configuration.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of the cluster that you are associating with encryption configuration.
sourcepub fn encryption_config(self, input: EncryptionConfig) -> Self
pub fn encryption_config(self, input: EncryptionConfig) -> Self
Appends an item to encryptionConfig.
To override the contents of this collection use set_encryption_config.
The configuration you are using for encryption.
sourcepub fn set_encryption_config(self, input: Option<Vec<EncryptionConfig>>) -> Self
pub fn set_encryption_config(self, input: Option<Vec<EncryptionConfig>>) -> Self
The configuration you are using for encryption.
sourcepub fn get_encryption_config(&self) -> &Option<Vec<EncryptionConfig>>
pub fn get_encryption_config(&self) -> &Option<Vec<EncryptionConfig>>
The configuration you are using for encryption.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
The client request token you are using with the encryption configuration.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
The client request token you are using with the encryption configuration.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
The client request token you are using with the encryption configuration.
Trait Implementations§
source§impl Clone for AssociateEncryptionConfigFluentBuilder
impl Clone for AssociateEncryptionConfigFluentBuilder
source§fn clone(&self) -> AssociateEncryptionConfigFluentBuilder
fn clone(&self) -> AssociateEncryptionConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more