#[non_exhaustive]pub struct UpdateStorageInputBuilder { /* private fields */ }
Expand description
A builder for UpdateStorageInput
.
Implementations§
source§impl UpdateStorageInputBuilder
impl UpdateStorageInputBuilder
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.
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) of the cluster to be updated.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
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.
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 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 get_provisioned_throughput(&self) -> &Option<ProvisionedThroughput>
pub fn get_provisioned_throughput(&self) -> &Option<ProvisionedThroughput>
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 get_storage_mode(&self) -> &Option<StorageMode>
pub fn get_storage_mode(&self) -> &Option<StorageMode>
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 get_volume_size_gb(&self) -> &Option<i32>
pub fn get_volume_size_gb(&self) -> &Option<i32>
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
.
source§impl UpdateStorageInputBuilder
impl UpdateStorageInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateStorageOutput, SdkError<UpdateStorageError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateStorageOutput, SdkError<UpdateStorageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateStorageInputBuilder
impl Clone for UpdateStorageInputBuilder
source§fn clone(&self) -> UpdateStorageInputBuilder
fn clone(&self) -> UpdateStorageInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateStorageInputBuilder
impl Debug for UpdateStorageInputBuilder
source§impl Default for UpdateStorageInputBuilder
impl Default for UpdateStorageInputBuilder
source§fn default() -> UpdateStorageInputBuilder
fn default() -> UpdateStorageInputBuilder
source§impl PartialEq for UpdateStorageInputBuilder
impl PartialEq for UpdateStorageInputBuilder
source§fn eq(&self, other: &UpdateStorageInputBuilder) -> bool
fn eq(&self, other: &UpdateStorageInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.