Struct aws_sdk_ec2::input::DetachVolumeInput
source · [−]#[non_exhaustive]pub struct DetachVolumeInput { /* private fields */ }
Implementations
sourceimpl DetachVolumeInput
impl DetachVolumeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetachVolume, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DetachVolume, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DetachVolume
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetachVolumeInput
.
sourceimpl DetachVolumeInput
impl DetachVolumeInput
sourcepub fn force(&self) -> Option<bool>
pub fn force(&self) -> Option<bool>
Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance won't have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.
Trait Implementations
sourceimpl Clone for DetachVolumeInput
impl Clone for DetachVolumeInput
sourcefn clone(&self) -> DetachVolumeInput
fn clone(&self) -> DetachVolumeInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DetachVolumeInput
impl Debug for DetachVolumeInput
sourceimpl PartialEq<DetachVolumeInput> for DetachVolumeInput
impl PartialEq<DetachVolumeInput> for DetachVolumeInput
sourcefn eq(&self, other: &DetachVolumeInput) -> bool
fn eq(&self, other: &DetachVolumeInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for DetachVolumeInput
Auto Trait Implementations
impl RefUnwindSafe for DetachVolumeInput
impl Send for DetachVolumeInput
impl Sync for DetachVolumeInput
impl Unpin for DetachVolumeInput
impl UnwindSafe for DetachVolumeInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more