Struct aws_sdk_ec2::operation::import_volume::ImportVolumeInput
source · #[non_exhaustive]pub struct ImportVolumeInput { /* private fields */ }
Implementations§
source§impl ImportVolumeInput
impl ImportVolumeInput
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone for the resulting EBS volume.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the volume.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn image(&self) -> Option<&DiskImageDetail>
pub fn image(&self) -> Option<&DiskImageDetail>
The disk image.
sourcepub fn volume(&self) -> Option<&VolumeDetail>
pub fn volume(&self) -> Option<&VolumeDetail>
The volume size.
source§impl ImportVolumeInput
impl ImportVolumeInput
sourcepub fn builder() -> ImportVolumeInputBuilder
pub fn builder() -> ImportVolumeInputBuilder
Creates a new builder-style object to manufacture ImportVolumeInput
.
source§impl ImportVolumeInput
impl ImportVolumeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ImportVolume, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<ImportVolume, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ImportVolume
>
Trait Implementations§
source§impl Clone for ImportVolumeInput
impl Clone for ImportVolumeInput
source§fn clone(&self) -> ImportVolumeInput
fn clone(&self) -> ImportVolumeInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImportVolumeInput
impl Debug for ImportVolumeInput
source§impl PartialEq<ImportVolumeInput> for ImportVolumeInput
impl PartialEq<ImportVolumeInput> for ImportVolumeInput
source§fn eq(&self, other: &ImportVolumeInput) -> bool
fn eq(&self, other: &ImportVolumeInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportVolumeInput
Auto Trait Implementations§
impl RefUnwindSafe for ImportVolumeInput
impl Send for ImportVolumeInput
impl Sync for ImportVolumeInput
impl Unpin for ImportVolumeInput
impl UnwindSafe for ImportVolumeInput
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