Struct aws_sdk_kafka::operation::update_broker_storage::builders::UpdateBrokerStorageInputBuilder
source · #[non_exhaustive]pub struct UpdateBrokerStorageInputBuilder { /* private fields */ }
Expand description
A builder for UpdateBrokerStorageInput
.
Implementations§
source§impl UpdateBrokerStorageInputBuilder
impl UpdateBrokerStorageInputBuilder
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_broker_ebs_volume_info(self, input: BrokerEbsVolumeInfo) -> Self
pub fn target_broker_ebs_volume_info(self, input: BrokerEbsVolumeInfo) -> Self
Appends an item to target_broker_ebs_volume_info
.
To override the contents of this collection use set_target_broker_ebs_volume_info
.
Describes the target volume size and the ID of the broker to apply the update to.
sourcepub fn set_target_broker_ebs_volume_info(
self,
input: Option<Vec<BrokerEbsVolumeInfo>>
) -> Self
pub fn set_target_broker_ebs_volume_info( self, input: Option<Vec<BrokerEbsVolumeInfo>> ) -> Self
Describes the target volume size and the ID of the broker to apply the update to.
sourcepub fn get_target_broker_ebs_volume_info(
&self
) -> &Option<Vec<BrokerEbsVolumeInfo>>
pub fn get_target_broker_ebs_volume_info( &self ) -> &Option<Vec<BrokerEbsVolumeInfo>>
Describes the target volume size and the ID of the broker to apply the update to.
sourcepub fn build(self) -> Result<UpdateBrokerStorageInput, BuildError>
pub fn build(self) -> Result<UpdateBrokerStorageInput, BuildError>
Consumes the builder and constructs a UpdateBrokerStorageInput
.
source§impl UpdateBrokerStorageInputBuilder
impl UpdateBrokerStorageInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateBrokerStorageOutput, SdkError<UpdateBrokerStorageError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateBrokerStorageOutput, SdkError<UpdateBrokerStorageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateBrokerStorageInputBuilder
impl Clone for UpdateBrokerStorageInputBuilder
source§fn clone(&self) -> UpdateBrokerStorageInputBuilder
fn clone(&self) -> UpdateBrokerStorageInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateBrokerStorageInputBuilder
impl Default for UpdateBrokerStorageInputBuilder
source§fn default() -> UpdateBrokerStorageInputBuilder
fn default() -> UpdateBrokerStorageInputBuilder
source§impl PartialEq for UpdateBrokerStorageInputBuilder
impl PartialEq for UpdateBrokerStorageInputBuilder
source§fn eq(&self, other: &UpdateBrokerStorageInputBuilder) -> bool
fn eq(&self, other: &UpdateBrokerStorageInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.