1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateBrokerCount`](crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_arn(impl ::std::convert::Into<String>)`](crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder::set_cluster_arn): <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
    ///   - [`current_version(impl ::std::convert::Into<String>)`](crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder::current_version) / [`set_current_version(Option<String>)`](crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder::set_current_version): <p>The version of cluster to update from. A successful operation will then generate a new version.</p>
    ///   - [`target_number_of_broker_nodes(i32)`](crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder::target_number_of_broker_nodes) / [`set_target_number_of_broker_nodes(Option<i32>)`](crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder::set_target_number_of_broker_nodes): <p>The number of broker nodes that you want the cluster to have after this operation completes successfully.</p>
    /// - On success, responds with [`UpdateBrokerCountOutput`](crate::operation::update_broker_count::UpdateBrokerCountOutput) with field(s):
    ///   - [`cluster_arn(Option<String>)`](crate::operation::update_broker_count::UpdateBrokerCountOutput::cluster_arn): <p>The Amazon Resource Name (ARN) of the cluster.</p>
    ///   - [`cluster_operation_arn(Option<String>)`](crate::operation::update_broker_count::UpdateBrokerCountOutput::cluster_operation_arn): <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
    /// - On failure, responds with [`SdkError<UpdateBrokerCountError>`](crate::operation::update_broker_count::UpdateBrokerCountError)
    pub fn update_broker_count(&self) -> crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder {
        crate::operation::update_broker_count::builders::UpdateBrokerCountFluentBuilder::new(self.handle.clone())
    }
}