pub struct AssignVolumeFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to AssignVolume.
Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. 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 AssignVolumeFluentBuilder
impl AssignVolumeFluentBuilder
sourcepub fn as_input(&self) -> &AssignVolumeInputBuilder
pub fn as_input(&self) -> &AssignVolumeInputBuilder
Access the AssignVolume as a reference.
sourcepub async fn send(
self
) -> Result<AssignVolumeOutput, SdkError<AssignVolumeError, HttpResponse>>
pub async fn send( self ) -> Result<AssignVolumeOutput, SdkError<AssignVolumeError, 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<AssignVolumeOutput, AssignVolumeError, Self>
pub fn customize( self ) -> CustomizableOperation<AssignVolumeOutput, AssignVolumeError, 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 instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The instance ID.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The instance ID.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The instance ID.
Trait Implementations§
source§impl Clone for AssignVolumeFluentBuilder
impl Clone for AssignVolumeFluentBuilder
source§fn clone(&self) -> AssignVolumeFluentBuilder
fn clone(&self) -> AssignVolumeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more