Struct aws_sdk_kafka::operation::put_cluster_policy::builders::PutClusterPolicyFluentBuilder
source · pub struct PutClusterPolicyFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to PutClusterPolicy.
Creates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request.
Implementations§
source§impl PutClusterPolicyFluentBuilder
impl PutClusterPolicyFluentBuilder
sourcepub fn as_input(&self) -> &PutClusterPolicyInputBuilder
pub fn as_input(&self) -> &PutClusterPolicyInputBuilder
Access the PutClusterPolicy as a reference.
sourcepub async fn send(
self
) -> Result<PutClusterPolicyOutput, SdkError<PutClusterPolicyError, HttpResponse>>
pub async fn send( self ) -> Result<PutClusterPolicyOutput, SdkError<PutClusterPolicyError, 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<PutClusterPolicyOutput, PutClusterPolicyError, Self>
pub fn customize( self ) -> CustomizableOperation<PutClusterPolicyOutput, PutClusterPolicyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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) of 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) of the cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The policy version.
sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
The policy version.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
The policy version.
sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The policy.
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The policy.
Trait Implementations§
source§impl Clone for PutClusterPolicyFluentBuilder
impl Clone for PutClusterPolicyFluentBuilder
source§fn clone(&self) -> PutClusterPolicyFluentBuilder
fn clone(&self) -> PutClusterPolicyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more