Struct aws_sdk_kafka::client::fluent_builders::UpdateStorage
source · pub struct UpdateStorage { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateStorage
.
Updates cluster broker volume size (or) sets cluster storage mode to TIERED.
Implementations§
source§impl UpdateStorage
impl UpdateStorage
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateStorage, AwsResponseRetryClassifier>, SdkError<UpdateStorageError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateStorage, AwsResponseRetryClassifier>, SdkError<UpdateStorageError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateStorageOutput, SdkError<UpdateStorageError>>
pub async fn send(
self
) -> Result<UpdateStorageOutput, SdkError<UpdateStorageError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
Trait Implementations§
source§impl Clone for UpdateStorage
impl Clone for UpdateStorage
source§fn clone(&self) -> UpdateStorage
fn clone(&self) -> UpdateStorage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more