pub struct Builder { /* private fields */ }
Expand description
A builder for CreateInstanceExportTaskInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> Result<CreateInstanceExportTaskInput, BuildError>
pub fn build(self) -> Result<CreateInstanceExportTaskInput, BuildError>
Consumes the builder and constructs a CreateInstanceExportTaskInput
.