Struct aws_sdk_ec2::types::ImportImageTask
source · #[non_exhaustive]pub struct ImportImageTask {Show 17 fields
pub architecture: Option<String>,
pub description: Option<String>,
pub encrypted: Option<bool>,
pub hypervisor: Option<String>,
pub image_id: Option<String>,
pub import_task_id: Option<String>,
pub kms_key_id: Option<String>,
pub license_type: Option<String>,
pub platform: Option<String>,
pub progress: Option<String>,
pub snapshot_details: Option<Vec<SnapshotDetail>>,
pub status: Option<String>,
pub status_message: Option<String>,
pub tags: Option<Vec<Tag>>,
pub license_specifications: Option<Vec<ImportImageLicenseConfigurationResponse>>,
pub usage_operation: Option<String>,
pub boot_mode: Option<BootModeValues>,
}
Expand description
Describes an import image task.
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.architecture: Option<String>
The architecture of the virtual machine.
Valid values: i386
| x86_64
| arm64
description: Option<String>
A description of the import task.
encrypted: Option<bool>
Indicates whether the image is encrypted.
hypervisor: Option<String>
The target hypervisor for the import task.
Valid values: xen
image_id: Option<String>
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
import_task_id: Option<String>
The ID of the import image task.
kms_key_id: Option<String>
The identifier for the KMS key that was used to create the encrypted image.
license_type: Option<String>
The license type of the virtual machine.
platform: Option<String>
The description string for the import image task.
progress: Option<String>
The percentage of progress of the import image task.
snapshot_details: Option<Vec<SnapshotDetail>>
Information about the snapshots.
status: Option<String>
A brief status for the import image task.
status_message: Option<String>
A descriptive status message for the import image task.
The tags for the import image task.
license_specifications: Option<Vec<ImportImageLicenseConfigurationResponse>>
The ARNs of the license configurations that are associated with the import image task.
usage_operation: Option<String>
The usage operation value.
boot_mode: Option<BootModeValues>
The boot mode of the virtual machine.
Implementations§
source§impl ImportImageTask
impl ImportImageTask
sourcepub fn architecture(&self) -> Option<&str>
pub fn architecture(&self) -> Option<&str>
The architecture of the virtual machine.
Valid values: i386
| x86_64
| arm64
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the import task.
sourcepub fn hypervisor(&self) -> Option<&str>
pub fn hypervisor(&self) -> Option<&str>
The target hypervisor for the import task.
Valid values: xen
sourcepub fn image_id(&self) -> Option<&str>
pub fn image_id(&self) -> Option<&str>
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
sourcepub fn import_task_id(&self) -> Option<&str>
pub fn import_task_id(&self) -> Option<&str>
The ID of the import image task.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The identifier for the KMS key that was used to create the encrypted image.
sourcepub fn license_type(&self) -> Option<&str>
pub fn license_type(&self) -> Option<&str>
The license type of the virtual machine.
sourcepub fn snapshot_details(&self) -> Option<&[SnapshotDetail]>
pub fn snapshot_details(&self) -> Option<&[SnapshotDetail]>
Information about the snapshots.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A descriptive status message for the import image task.
The tags for the import image task.
sourcepub fn license_specifications(
&self
) -> Option<&[ImportImageLicenseConfigurationResponse]>
pub fn license_specifications( &self ) -> Option<&[ImportImageLicenseConfigurationResponse]>
The ARNs of the license configurations that are associated with the import image task.
sourcepub fn usage_operation(&self) -> Option<&str>
pub fn usage_operation(&self) -> Option<&str>
The usage operation value.
sourcepub fn boot_mode(&self) -> Option<&BootModeValues>
pub fn boot_mode(&self) -> Option<&BootModeValues>
The boot mode of the virtual machine.
source§impl ImportImageTask
impl ImportImageTask
sourcepub fn builder() -> ImportImageTaskBuilder
pub fn builder() -> ImportImageTaskBuilder
Creates a new builder-style object to manufacture ImportImageTask
.
Trait Implementations§
source§impl Clone for ImportImageTask
impl Clone for ImportImageTask
source§fn clone(&self) -> ImportImageTask
fn clone(&self) -> ImportImageTask
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportImageTask
impl Debug for ImportImageTask
source§impl PartialEq<ImportImageTask> for ImportImageTask
impl PartialEq<ImportImageTask> for ImportImageTask
source§fn eq(&self, other: &ImportImageTask) -> bool
fn eq(&self, other: &ImportImageTask) -> bool
self
and other
values to be equal, and is used
by ==
.