Struct aws_sdk_ec2::input::ImportVolumeInput
source · #[non_exhaustive]pub struct ImportVolumeInput { /* private fields */ }
Implementations§
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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportVolumeInput
.
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.
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 ==
.