Struct aws_sdk_ec2::operation::create_instance_export_task::builders::CreateInstanceExportTaskInputBuilder
source · #[non_exhaustive]pub struct CreateInstanceExportTaskInputBuilder { /* private fields */ }
Expand description
A builder for CreateInstanceExportTaskInput
.
Implementations§
source§impl CreateInstanceExportTaskInputBuilder
impl CreateInstanceExportTaskInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the conversion task or the resource being exported. The maximum length is 255 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the conversion task or the resource being exported. The maximum length is 255 characters.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the conversion task or the resource being exported. The maximum length is 255 characters.
sourcepub fn export_to_s3_task(self, input: ExportToS3TaskSpecification) -> Self
pub fn export_to_s3_task(self, input: ExportToS3TaskSpecification) -> Self
The format and location for an export instance task.
sourcepub fn set_export_to_s3_task(
self,
input: Option<ExportToS3TaskSpecification>
) -> Self
pub fn set_export_to_s3_task( self, input: Option<ExportToS3TaskSpecification> ) -> Self
The format and location for an export instance task.
sourcepub fn get_export_to_s3_task(&self) -> &Option<ExportToS3TaskSpecification>
pub fn get_export_to_s3_task(&self) -> &Option<ExportToS3TaskSpecification>
The format and location for an export instance task.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance.
sourcepub fn target_environment(self, input: ExportEnvironment) -> Self
pub fn target_environment(self, input: ExportEnvironment) -> Self
The target virtualization environment.
sourcepub fn set_target_environment(self, input: Option<ExportEnvironment>) -> Self
pub fn set_target_environment(self, input: Option<ExportEnvironment>) -> Self
The target virtualization environment.
sourcepub fn get_target_environment(&self) -> &Option<ExportEnvironment>
pub fn get_target_environment(&self) -> &Option<ExportEnvironment>
The target virtualization environment.
sourcepub fn tag_specifications(self, input: TagSpecification) -> Self
pub fn tag_specifications(self, input: TagSpecification) -> Self
Appends an item to tag_specifications
.
To override the contents of this collection use set_tag_specifications
.
The tags to apply to the export instance task during creation.
sourcepub fn set_tag_specifications(
self,
input: Option<Vec<TagSpecification>>
) -> Self
pub fn set_tag_specifications( self, input: Option<Vec<TagSpecification>> ) -> Self
The tags to apply to the export instance task during creation.
sourcepub fn get_tag_specifications(&self) -> &Option<Vec<TagSpecification>>
pub fn get_tag_specifications(&self) -> &Option<Vec<TagSpecification>>
The tags to apply to the export instance task during creation.
sourcepub fn build(self) -> Result<CreateInstanceExportTaskInput, BuildError>
pub fn build(self) -> Result<CreateInstanceExportTaskInput, BuildError>
Consumes the builder and constructs a CreateInstanceExportTaskInput
.
source§impl CreateInstanceExportTaskInputBuilder
impl CreateInstanceExportTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateInstanceExportTaskOutput, SdkError<CreateInstanceExportTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateInstanceExportTaskOutput, SdkError<CreateInstanceExportTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateInstanceExportTaskInputBuilder
impl Clone for CreateInstanceExportTaskInputBuilder
source§fn clone(&self) -> CreateInstanceExportTaskInputBuilder
fn clone(&self) -> CreateInstanceExportTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateInstanceExportTaskInputBuilder
impl Default for CreateInstanceExportTaskInputBuilder
source§fn default() -> CreateInstanceExportTaskInputBuilder
fn default() -> CreateInstanceExportTaskInputBuilder
source§impl PartialEq<CreateInstanceExportTaskInputBuilder> for CreateInstanceExportTaskInputBuilder
impl PartialEq<CreateInstanceExportTaskInputBuilder> for CreateInstanceExportTaskInputBuilder
source§fn eq(&self, other: &CreateInstanceExportTaskInputBuilder) -> bool
fn eq(&self, other: &CreateInstanceExportTaskInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.