Struct aws_sdk_kafka::client::fluent_builders::UpdateSecurity
source · pub struct UpdateSecurity { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateSecurity
.
Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.
Implementations§
source§impl UpdateSecurity
impl UpdateSecurity
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSecurity, AwsResponseRetryClassifier>, SdkError<UpdateSecurityError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSecurity, AwsResponseRetryClassifier>, SdkError<UpdateSecurityError>>
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<UpdateSecurityOutput, SdkError<UpdateSecurityError>>
pub async fn send(
self
) -> Result<UpdateSecurityOutput, SdkError<UpdateSecurityError>>
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 client_authentication(self, input: ClientAuthentication) -> Self
pub fn client_authentication(self, input: ClientAuthentication) -> Self
Includes all client authentication related information.
sourcepub fn set_client_authentication(
self,
input: Option<ClientAuthentication>
) -> Self
pub fn set_client_authentication(
self,
input: Option<ClientAuthentication>
) -> Self
Includes all client authentication related information.
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
sourcepub fn encryption_info(self, input: EncryptionInfo) -> Self
pub fn encryption_info(self, input: EncryptionInfo) -> Self
Includes all encryption-related information.
sourcepub fn set_encryption_info(self, input: Option<EncryptionInfo>) -> Self
pub fn set_encryption_info(self, input: Option<EncryptionInfo>) -> Self
Includes all encryption-related information.
Trait Implementations§
source§impl Clone for UpdateSecurity
impl Clone for UpdateSecurity
source§fn clone(&self) -> UpdateSecurity
fn clone(&self) -> UpdateSecurity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more