pub struct UpdateVolumeFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateVolume.
Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Implementations§
source§impl UpdateVolumeFluentBuilder
impl UpdateVolumeFluentBuilder
sourcepub fn as_input(&self) -> &UpdateVolumeInputBuilder
pub fn as_input(&self) -> &UpdateVolumeInputBuilder
Access the UpdateVolume as a reference.
sourcepub async fn send(
self
) -> Result<UpdateVolumeOutput, SdkError<UpdateVolumeError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateVolumeOutput, SdkError<UpdateVolumeError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<UpdateVolumeOutput, UpdateVolumeError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateVolumeOutput, UpdateVolumeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_volume_id(self, input: Option<String>) -> Self
pub fn set_volume_id(self, input: Option<String>) -> Self
The volume ID.
sourcepub fn get_volume_id(&self) -> &Option<String>
pub fn get_volume_id(&self) -> &Option<String>
The volume ID.
sourcepub fn mount_point(self, input: impl Into<String>) -> Self
pub fn mount_point(self, input: impl Into<String>) -> Self
The new mount point.
sourcepub fn set_mount_point(self, input: Option<String>) -> Self
pub fn set_mount_point(self, input: Option<String>) -> Self
The new mount point.
sourcepub fn get_mount_point(&self) -> &Option<String>
pub fn get_mount_point(&self) -> &Option<String>
The new mount point.
Trait Implementations§
source§impl Clone for UpdateVolumeFluentBuilder
impl Clone for UpdateVolumeFluentBuilder
source§fn clone(&self) -> UpdateVolumeFluentBuilder
fn clone(&self) -> UpdateVolumeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more