Struct aws_sdk_kafka::input::update_storage_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateStorageInput
.
Implementations§
source§impl Builder
impl Builder
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 to be updated.
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 to be updated.
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.
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 provisioned_throughput(self, input: ProvisionedThroughput) -> Self
pub fn provisioned_throughput(self, input: ProvisionedThroughput) -> Self
EBS volume provisioned throughput information.
sourcepub fn set_provisioned_throughput(
self,
input: Option<ProvisionedThroughput>
) -> Self
pub fn set_provisioned_throughput(
self,
input: Option<ProvisionedThroughput>
) -> Self
EBS volume provisioned throughput information.
sourcepub fn storage_mode(self, input: StorageMode) -> Self
pub fn storage_mode(self, input: StorageMode) -> Self
Controls storage mode for supported storage tiers.
sourcepub fn set_storage_mode(self, input: Option<StorageMode>) -> Self
pub fn set_storage_mode(self, input: Option<StorageMode>) -> Self
Controls storage mode for supported storage tiers.
sourcepub fn volume_size_gb(self, input: i32) -> Self
pub fn volume_size_gb(self, input: i32) -> Self
size of the EBS volume to update.
sourcepub fn set_volume_size_gb(self, input: Option<i32>) -> Self
pub fn set_volume_size_gb(self, input: Option<i32>) -> Self
size of the EBS volume to update.
sourcepub fn build(self) -> Result<UpdateStorageInput, BuildError>
pub fn build(self) -> Result<UpdateStorageInput, BuildError>
Consumes the builder and constructs a UpdateStorageInput
.