pub struct AssociateEncryptionConfig { /* 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 AssociateEncryptionConfig
impl AssociateEncryptionConfig
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AssociateEncryptionConfig, AwsResponseRetryClassifier>, SdkError<AssociateEncryptionConfigError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AssociateEncryptionConfig, AwsResponseRetryClassifier>, SdkError<AssociateEncryptionConfigError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AssociateEncryptionConfigOutput, SdkError<AssociateEncryptionConfigError>>
pub async fn send(
self
) -> Result<AssociateEncryptionConfigOutput, SdkError<AssociateEncryptionConfigError>>
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 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 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 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.
Trait Implementations§
source§impl Clone for AssociateEncryptionConfig
impl Clone for AssociateEncryptionConfig
source§fn clone(&self) -> AssociateEncryptionConfig
fn clone(&self) -> AssociateEncryptionConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more