Struct aws_sdk_ec2::model::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
sourceimpl 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.
sourceimpl ImportImageTask
impl ImportImageTask
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportImageTask
.
Trait Implementations
sourceimpl Clone for ImportImageTask
impl Clone for ImportImageTask
sourcefn clone(&self) -> ImportImageTask
fn clone(&self) -> ImportImageTask
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImportImageTask
impl Debug for ImportImageTask
sourceimpl PartialEq<ImportImageTask> for ImportImageTask
impl PartialEq<ImportImageTask> for ImportImageTask
sourcefn eq(&self, other: &ImportImageTask) -> bool
fn eq(&self, other: &ImportImageTask) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImportImageTask) -> bool
fn ne(&self, other: &ImportImageTask) -> bool
This method tests for !=
.
impl StructuralPartialEq for ImportImageTask
Auto Trait Implementations
impl RefUnwindSafe for ImportImageTask
impl Send for ImportImageTask
impl Sync for ImportImageTask
impl Unpin for ImportImageTask
impl UnwindSafe for ImportImageTask
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more