Struct aws_sdk_kafka::operation::update_cluster_configuration::builders::UpdateClusterConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateClusterConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateClusterConfigurationInput
.
Implementations§
source§impl UpdateClusterConfigurationInputBuilder
impl UpdateClusterConfigurationInputBuilder
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.
This field is required.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 get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
sourcepub fn configuration_info(self, input: ConfigurationInfo) -> Self
pub fn configuration_info(self, input: ConfigurationInfo) -> Self
Represents the configuration that you want MSK to use for the brokers in a cluster.
This field is required.sourcepub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
pub fn set_configuration_info(self, input: Option<ConfigurationInfo>) -> Self
Represents the configuration that you want MSK to use for the brokers in a cluster.
sourcepub fn get_configuration_info(&self) -> &Option<ConfigurationInfo>
pub fn get_configuration_info(&self) -> &Option<ConfigurationInfo>
Represents the configuration that you want MSK to use for the brokers in a 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 cluster that needs to be updated.
This field is required.sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
The version of the cluster that needs to be updated.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
The version of the cluster that needs to be updated.
sourcepub fn build(self) -> Result<UpdateClusterConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateClusterConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateClusterConfigurationInput
.
source§impl UpdateClusterConfigurationInputBuilder
impl UpdateClusterConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateClusterConfigurationOutput, SdkError<UpdateClusterConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateClusterConfigurationOutput, SdkError<UpdateClusterConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateClusterConfigurationInputBuilder
impl Clone for UpdateClusterConfigurationInputBuilder
source§fn clone(&self) -> UpdateClusterConfigurationInputBuilder
fn clone(&self) -> UpdateClusterConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateClusterConfigurationInputBuilder
impl Default for UpdateClusterConfigurationInputBuilder
source§fn default() -> UpdateClusterConfigurationInputBuilder
fn default() -> UpdateClusterConfigurationInputBuilder
source§impl PartialEq for UpdateClusterConfigurationInputBuilder
impl PartialEq for UpdateClusterConfigurationInputBuilder
source§fn eq(&self, other: &UpdateClusterConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateClusterConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.