Struct aws_sdk_ec2::operation::import_instance::ImportInstanceInput
source · #[non_exhaustive]pub struct ImportInstanceInput {
pub description: Option<String>,
pub disk_images: Option<Vec<DiskImage>>,
pub dry_run: Option<bool>,
pub launch_specification: Option<ImportInstanceLaunchSpecification>,
pub platform: Option<PlatformValues>,
}
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.description: Option<String>
A description for the instance being imported.
disk_images: Option<Vec<DiskImage>>
The disk image.
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
.
launch_specification: Option<ImportInstanceLaunchSpecification>
The launch specification.
platform: Option<PlatformValues>
The instance operating system.
Implementations§
source§impl ImportInstanceInput
impl ImportInstanceInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the instance being imported.
sourcepub fn disk_images(&self) -> Option<&[DiskImage]>
pub fn disk_images(&self) -> Option<&[DiskImage]>
The disk image.
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 launch_specification(&self) -> Option<&ImportInstanceLaunchSpecification>
pub fn launch_specification(&self) -> Option<&ImportInstanceLaunchSpecification>
The launch specification.
sourcepub fn platform(&self) -> Option<&PlatformValues>
pub fn platform(&self) -> Option<&PlatformValues>
The instance operating system.
source§impl ImportInstanceInput
impl ImportInstanceInput
sourcepub fn builder() -> ImportInstanceInputBuilder
pub fn builder() -> ImportInstanceInputBuilder
Creates a new builder-style object to manufacture ImportInstanceInput
.
Trait Implementations§
source§impl Clone for ImportInstanceInput
impl Clone for ImportInstanceInput
source§fn clone(&self) -> ImportInstanceInput
fn clone(&self) -> ImportInstanceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportInstanceInput
impl Debug for ImportInstanceInput
source§impl PartialEq<ImportInstanceInput> for ImportInstanceInput
impl PartialEq<ImportInstanceInput> for ImportInstanceInput
source§fn eq(&self, other: &ImportInstanceInput) -> bool
fn eq(&self, other: &ImportInstanceInput) -> bool
self
and other
values to be equal, and is used
by ==
.