#[non_exhaustive]pub struct ImportImageOutputBuilder { /* private fields */ }
Expand description
A builder for ImportImageOutput
.
Implementations§
source§impl ImportImageOutputBuilder
impl ImportImageOutputBuilder
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 get_architecture(&self) -> &Option<String>
pub fn get_architecture(&self) -> &Option<String>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_encrypted(&self) -> &Option<bool>
pub fn get_encrypted(&self) -> &Option<bool>
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 get_hypervisor(&self) -> &Option<String>
pub fn get_hypervisor(&self) -> &Option<String>
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 get_image_id(&self) -> &Option<String>
pub fn get_image_id(&self) -> &Option<String>
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 get_import_task_id(&self) -> &Option<String>
pub fn get_import_task_id(&self) -> &Option<String>
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 get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
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 get_license_type(&self) -> &Option<String>
pub fn get_license_type(&self) -> &Option<String>
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 get_platform(&self) -> &Option<String>
pub fn get_platform(&self) -> &Option<String>
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 get_progress(&self) -> &Option<String>
pub fn get_progress(&self) -> &Option<String>
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 get_snapshot_details(&self) -> &Option<Vec<SnapshotDetail>>
pub fn get_snapshot_details(&self) -> &Option<Vec<SnapshotDetail>>
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 get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
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 get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
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.
sourcepub fn get_license_specifications(
&self
) -> &Option<Vec<ImportImageLicenseConfigurationResponse>>
pub fn get_license_specifications( &self ) -> &Option<Vec<ImportImageLicenseConfigurationResponse>>
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.
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 get_usage_operation(&self) -> &Option<String>
pub fn get_usage_operation(&self) -> &Option<String>
The usage operation value.
sourcepub fn build(self) -> ImportImageOutput
pub fn build(self) -> ImportImageOutput
Consumes the builder and constructs a ImportImageOutput
.
Trait Implementations§
source§impl Clone for ImportImageOutputBuilder
impl Clone for ImportImageOutputBuilder
source§fn clone(&self) -> ImportImageOutputBuilder
fn clone(&self) -> ImportImageOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportImageOutputBuilder
impl Debug for ImportImageOutputBuilder
source§impl Default for ImportImageOutputBuilder
impl Default for ImportImageOutputBuilder
source§fn default() -> ImportImageOutputBuilder
fn default() -> ImportImageOutputBuilder
source§impl PartialEq for ImportImageOutputBuilder
impl PartialEq for ImportImageOutputBuilder
source§fn eq(&self, other: &ImportImageOutputBuilder) -> bool
fn eq(&self, other: &ImportImageOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportImageOutputBuilder
Auto Trait Implementations§
impl Freeze for ImportImageOutputBuilder
impl RefUnwindSafe for ImportImageOutputBuilder
impl Send for ImportImageOutputBuilder
impl Sync for ImportImageOutputBuilder
impl Unpin for ImportImageOutputBuilder
impl UnwindSafe for ImportImageOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more