Struct aws_sdk_ec2::output::import_image_output::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ImportImageOutput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn architecture(self, input: impl Into<String>) -> Self
pub fn architecture(self, input: impl Into<String>) -> Self
The architecture of the virtual machine.
sourcepub fn set_architecture(self, input: Option<String>) -> Self
pub fn set_architecture(self, input: Option<String>) -> Self
The architecture of the virtual machine.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the import task.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the import task.
sourcepub fn set_encrypted(self, input: Option<bool>) -> Self
pub fn set_encrypted(self, input: Option<bool>) -> Self
Indicates whether the AMI is encrypted.
sourcepub fn hypervisor(self, input: impl Into<String>) -> Self
pub fn hypervisor(self, input: impl Into<String>) -> Self
The target hypervisor of the import task.
sourcepub fn set_hypervisor(self, input: Option<String>) -> Self
pub fn set_hypervisor(self, input: Option<String>) -> Self
The target hypervisor of the import task.
sourcepub fn image_id(self, input: impl Into<String>) -> Self
pub fn image_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Machine Image (AMI) created by the import task.
sourcepub fn set_image_id(self, input: Option<String>) -> Self
pub fn set_image_id(self, input: Option<String>) -> Self
The ID of the Amazon Machine Image (AMI) created by the import task.
sourcepub fn import_task_id(self, input: impl Into<String>) -> Self
pub fn import_task_id(self, input: impl Into<String>) -> Self
The task ID of the import image task.
sourcepub fn set_import_task_id(self, input: Option<String>) -> Self
pub fn set_import_task_id(self, input: Option<String>) -> Self
The task ID of the import image task.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
sourcepub fn license_type(self, input: impl Into<String>) -> Self
pub fn license_type(self, input: impl Into<String>) -> Self
The license type of the virtual machine.
sourcepub fn set_license_type(self, input: Option<String>) -> Self
pub fn set_license_type(self, input: Option<String>) -> Self
The license type of the virtual machine.
sourcepub fn platform(self, input: impl Into<String>) -> Self
pub fn platform(self, input: impl Into<String>) -> Self
The operating system of the virtual machine.
sourcepub fn set_platform(self, input: Option<String>) -> Self
pub fn set_platform(self, input: Option<String>) -> Self
The operating system of the virtual machine.
sourcepub fn set_progress(self, input: Option<String>) -> Self
pub fn set_progress(self, input: Option<String>) -> Self
The progress of the task.
sourcepub fn snapshot_details(self, input: SnapshotDetail) -> Self
pub fn snapshot_details(self, input: SnapshotDetail) -> Self
Appends an item to snapshot_details
.
To override the contents of this collection use set_snapshot_details
.
Information about the snapshots.
sourcepub fn set_snapshot_details(self, input: Option<Vec<SnapshotDetail>>) -> Self
pub fn set_snapshot_details(self, input: Option<Vec<SnapshotDetail>>) -> Self
Information about the snapshots.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
A brief status of the task.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A detailed status message of the import task.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A detailed status message of the import task.
sourcepub fn license_specifications(
self,
input: ImportImageLicenseConfigurationResponse
) -> Self
pub fn license_specifications(
self,
input: ImportImageLicenseConfigurationResponse
) -> Self
Appends an item to license_specifications
.
To override the contents of this collection use set_license_specifications
.
The ARNs of the license configurations.
sourcepub fn set_license_specifications(
self,
input: Option<Vec<ImportImageLicenseConfigurationResponse>>
) -> Self
pub fn set_license_specifications(
self,
input: Option<Vec<ImportImageLicenseConfigurationResponse>>
) -> Self
The ARNs of the license configurations.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the import image task.
Any tags assigned to the import image task.
sourcepub fn usage_operation(self, input: impl Into<String>) -> Self
pub fn usage_operation(self, input: impl Into<String>) -> Self
The usage operation value.
sourcepub fn set_usage_operation(self, input: Option<String>) -> Self
pub fn set_usage_operation(self, input: Option<String>) -> Self
The usage operation value.
sourcepub fn build(self) -> ImportImageOutput
pub fn build(self) -> ImportImageOutput
Consumes the builder and constructs a ImportImageOutput
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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