Struct aws_sdk_ec2::operation::import_volume::ImportVolumeInput
source · #[non_exhaustive]pub struct ImportVolumeInput {
pub availability_zone: Option<String>,
pub description: Option<String>,
pub dry_run: Option<bool>,
pub image: Option<DiskImageDetail>,
pub volume: Option<VolumeDetail>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.availability_zone: Option<String>
The Availability Zone for the resulting EBS volume.
description: Option<String>
A description of the volume.
dry_run: 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
.
image: Option<DiskImageDetail>
The disk image.
volume: Option<VolumeDetail>
The volume size.
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
.
Trait Implementations§
source§impl Clone for ImportVolumeInput
impl Clone for ImportVolumeInput
source§fn clone(&self) -> ImportVolumeInput
fn clone(&self) -> ImportVolumeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.