Struct aws_sdk_kafka::operation::update_broker_count::builders::UpdateBrokerCountInputBuilder
source · #[non_exhaustive]pub struct UpdateBrokerCountInputBuilder { /* private fields */ }
Expand description
A builder for UpdateBrokerCountInput
.
Implementations§
source§impl UpdateBrokerCountInputBuilder
impl UpdateBrokerCountInputBuilder
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 current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The version of cluster to update from. A successful operation will then generate a new version.
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 cluster to update from. A successful operation will then generate a new version.
sourcepub fn get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
The version of cluster to update from. A successful operation will then generate a new version.
sourcepub fn target_number_of_broker_nodes(self, input: i32) -> Self
pub fn target_number_of_broker_nodes(self, input: i32) -> Self
The number of broker nodes that you want the cluster to have after this operation completes successfully.
This field is required.sourcepub fn set_target_number_of_broker_nodes(self, input: Option<i32>) -> Self
pub fn set_target_number_of_broker_nodes(self, input: Option<i32>) -> Self
The number of broker nodes that you want the cluster to have after this operation completes successfully.
sourcepub fn get_target_number_of_broker_nodes(&self) -> &Option<i32>
pub fn get_target_number_of_broker_nodes(&self) -> &Option<i32>
The number of broker nodes that you want the cluster to have after this operation completes successfully.
sourcepub fn build(self) -> Result<UpdateBrokerCountInput, BuildError>
pub fn build(self) -> Result<UpdateBrokerCountInput, BuildError>
Consumes the builder and constructs a UpdateBrokerCountInput
.
source§impl UpdateBrokerCountInputBuilder
impl UpdateBrokerCountInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateBrokerCountOutput, SdkError<UpdateBrokerCountError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateBrokerCountOutput, SdkError<UpdateBrokerCountError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateBrokerCountInputBuilder
impl Clone for UpdateBrokerCountInputBuilder
source§fn clone(&self) -> UpdateBrokerCountInputBuilder
fn clone(&self) -> UpdateBrokerCountInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateBrokerCountInputBuilder
impl Default for UpdateBrokerCountInputBuilder
source§fn default() -> UpdateBrokerCountInputBuilder
fn default() -> UpdateBrokerCountInputBuilder
source§impl PartialEq for UpdateBrokerCountInputBuilder
impl PartialEq for UpdateBrokerCountInputBuilder
source§fn eq(&self, other: &UpdateBrokerCountInputBuilder) -> bool
fn eq(&self, other: &UpdateBrokerCountInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.