pub struct ModifyVolumeRequestBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ModifyVolumeRequestBuilder<S>
impl<S: State> ModifyVolumeRequestBuilder<S>
Sourcepub fn build(self) -> ModifyVolumeRequestwhere
S: IsComplete,
pub fn build(self) -> ModifyVolumeRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn volume_id(
self,
value: String,
) -> ModifyVolumeRequestBuilder<SetVolumeId<S>>where
S::VolumeId: IsUnset,
pub fn volume_id(
self,
value: String,
) -> ModifyVolumeRequestBuilder<SetVolumeId<S>>where
S::VolumeId: IsUnset,
Required.
ID of the volume to modify.
Sourcepub fn size(self, value: i32) -> ModifyVolumeRequestBuilder<SetSize<S>>where
S::Size: IsUnset,
pub fn size(self, value: i32) -> ModifyVolumeRequestBuilder<SetSize<S>>where
S::Size: IsUnset,
Required.
Target size in GiB. EC2 does not permit shrinking a volume.
Auto Trait Implementations§
impl<S> Freeze for ModifyVolumeRequestBuilder<S>
impl<S> RefUnwindSafe for ModifyVolumeRequestBuilder<S>
impl<S> Send for ModifyVolumeRequestBuilder<S>
impl<S> Sync for ModifyVolumeRequestBuilder<S>
impl<S> Unpin for ModifyVolumeRequestBuilder<S>
impl<S> UnsafeUnpin for ModifyVolumeRequestBuilder<S>
impl<S> UnwindSafe for ModifyVolumeRequestBuilder<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.